@alanszp/core 15.0.0 → 16.5.4
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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -18,4 +18,5 @@ __exportStar(require("./assignKey"), exports);
|
|
|
18
18
|
__exportStar(require("./lists"), exports);
|
|
19
19
|
__exportStar(require("./editable"), exports);
|
|
20
20
|
__exportStar(require("./app"), exports);
|
|
21
|
+
__exportStar(require("./types"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,wCAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,wCAAsB;AACtB,0CAAwB"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare type RequiredNotNull<T> = {
|
|
2
|
+
[P in keyof T]: NonNullable<T[P]>;
|
|
3
|
+
};
|
|
4
|
+
export declare type RequiredNull<T> = {
|
|
5
|
+
[P in keyof T]: null;
|
|
6
|
+
};
|
|
7
|
+
export declare type Ensure<T, K extends keyof T> = T & RequiredNotNull<Pick<T, K>>;
|
|
8
|
+
export declare type EnsureNull<T, K extends keyof T> = T & RequiredNull<Pick<T, K>>;
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alanszp/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.5.4",
|
|
4
4
|
"description": "Alan's core TS/JS lib.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "^20.11.17"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "8d1aacba9dbc946adcff7cf00a14ba0f08d4a061"
|
|
22
22
|
}
|