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 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
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * hsu-utils v0.0.25
3
+ * hsu-utils v0.0.26
4
4
  *
5
5
  * some front-end utils
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * hsu-utils v0.0.25
3
+ * hsu-utils v0.0.26
4
4
  *
5
5
  * some front-end utils
6
6
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hsu-utils",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "some front-end utils",
5
5
  "repository": "git@github.com:VitaTsui/hsu-utils.git",
6
6
  "author": "VitaHsu <vitahsu7@gmail.com>",