hsu-utils 0.0.26 → 0.0.27
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/README.md +5 -1
- package/dist/hsu-utils.js +1 -1
- package/dist/hsu-utils.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -30,7 +30,7 @@ yarn add hsu-utils
|
|
30
30
|
| | getNumPages | 获取 PDF 页数 | (pdfUrl: string): Promise\<number> | - |
|
31
31
|
| | clear | 删除已渲染的 PDF | (containerId: string) => void | - |
|
32
32
|
| | render | 渲染 PDF | (options: [RenderOption](#renderoption)) => Promise\<void> | - |
|
33
|
-
| Typeof | - | 获取类型或判断类型 | \<T>(value: T, isType?: [Type](#type)) => boolean
|
33
|
+
| Typeof | - | 获取类型或判断类型 | \<T>(value: T, isType?: [Type](#type)) => boolean \| Type | - |
|
34
34
|
|
35
35
|
## 类型
|
36
36
|
|
@@ -76,3 +76,7 @@ yarn add hsu-utils
|
|
76
76
|
> type BaseType = 'string' | 'number' | 'boolean' | 'undefined' | 'function' | 'symbol' | 'bigint'
|
77
77
|
> type ObjectType = 'object' | 'array' | 'null' | 'date' | 'formdata' | 'set' | 'map' | 'regexp' | 'arraybuffer' | 'blob'
|
78
78
|
> type Type = BaseType | ObjectType
|
79
|
+
|
80
|
+
## License
|
81
|
+
|
82
|
+
MIT
|
package/dist/hsu-utils.js
CHANGED