@cclr/lang 0.1.48 → 0.1.50

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
@@ -5,5 +5,6 @@
5
5
  ## Usage
6
6
 
7
7
  ```
8
+
8
9
  const lang = require('lang');
9
10
  ```
@@ -14,7 +14,10 @@ declare const forEach$1: <T>(arr: T[], callback: (item: T, index: number, arr: T
14
14
  declare const forEachReverse: <T>(arr: T[], callback: (item: T, index: number, arr: T[]) => void) => void;
15
15
 
16
16
  type TAny = any;
17
- type TPlainObject = Record<string, TAny>;
17
+ // export type TPlainObject = Record<string, TAny>;
18
+ type TPlainObject = {
19
+ [key: string]: TAny;
20
+ };
18
21
  type TPlainFunction = (...args: TAny[]) => TAny;
19
22
  type TNoop = () => void;
20
23
  type TUndefinedOrNull = undefined | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cclr/lang",
3
- "version": "0.1.48",
3
+ "version": "0.1.50",
4
4
  "description": "js语言基础工具",
5
5
  "author": "cclr <18843152354@163.com>",
6
6
  "homepage": "",
@@ -27,5 +27,5 @@
27
27
  "g:test": "vitest run",
28
28
  "g:build": "drr build"
29
29
  },
30
- "gitHead": "f06c2bf8e87257c35f5f3e146c69a0ad9d20c52c"
30
+ "gitHead": "d35827a9380709a9fbfb9630860dcc2739e0bb8e"
31
31
  }