@ceale/util 1.13.1 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/types/type.d.ts +2 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/types/type.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 就地断言一个变量为指定类型
|
|
3
3
|
* @template Type 断言的类型,默认为`any`
|
|
4
|
-
* @param
|
|
4
|
+
* @param variable 待断言的变量
|
|
5
5
|
*/
|
|
6
|
-
export declare const assert: <Type = any>(
|
|
6
|
+
export declare const assert: <Type = any>(variable: any) => asserts variable is Type;
|