custom-class-validator-tools 1.0.26 → 1.0.28
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.
|
@@ -2,7 +2,7 @@ export declare function isUndefined<T>(value: T | undefined): value is undefined
|
|
|
2
2
|
export declare function isNotUndefined<T>(value?: T | undefined): value is T;
|
|
3
3
|
export declare function isNull<T>(value?: T | null): value is null;
|
|
4
4
|
export declare function isNotNull<T>(value?: T | null): value is T;
|
|
5
|
-
|
|
5
|
+
type TSimpleValue<T> = T | null | undefined;
|
|
6
6
|
export declare function isEmptySimple<T>(value: TSimpleValue<T>): value is null | undefined;
|
|
7
7
|
export declare function isNotEmptySimple<T>(value: TSimpleValue<T>): value is T;
|
|
8
8
|
export declare function isEmptyString(value?: string | null | undefined): value is null | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "custom-class-validator-tools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"eslint-config-prettier": "^8.5.0",
|
|
32
32
|
"eslint-plugin-import": "^2.25.4",
|
|
33
33
|
"jest": "^29.0.3",
|
|
34
|
-
"just-scripts": "^2.0
|
|
34
|
+
"just-scripts": "^2.1.0",
|
|
35
35
|
"prettier": "^2.6.0",
|
|
36
36
|
"reflect-metadata": "^0.1.13",
|
|
37
37
|
"ts-jest": "^29.0.1",
|