Comparing version 0.1.25 to 0.1.26
@@ -1,3 +0,3 @@ | ||
export type AssertTrue<T extends true> = any; | ||
export type AssertTrue<_T extends true> = any; | ||
export type AssertFalse<T extends false> = any; | ||
export type AssertFalse<_T extends false> = any; |
import {IsEqual} from './comparison'; | ||
import {PlainObject, Primitive} from './types'; | ||
import {PlainObject} from './types'; | ||
@@ -269,12 +269,8 @@ // Extract keys | ||
export type OptionalizeUndefinedDeep<T> = T extends PlainObject | ||
? { | ||
[K in KeyOfValueContainingType<T, undefined>]?: OptionalizeUndefinedDeep< | ||
T[K] | ||
>; | ||
} & { | ||
[K in KeyOfValueNotContainingType< | ||
T, | ||
undefined | ||
>]: OptionalizeUndefinedDeep<T[K]>; | ||
} | ||
? PartialByKey< | ||
{ | ||
[K in keyof T]: OptionalizeUndefinedDeep<T[K]>; | ||
}, | ||
KeyOfValueContainingType<T, undefined> | ||
> | ||
: T; | ||
@@ -281,0 +277,0 @@ |
{ | ||
"name": "tslang", | ||
"version": "0.1.25", | ||
"version": "0.1.26", | ||
"description": "TypeScript Language Type Utilities.", | ||
@@ -20,9 +20,9 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@mufan/code": "^0.2.9", | ||
"@mufan/eslint-plugin": "^0.1.42", | ||
"eslint": "^7.32.0", | ||
"@mufan/code": "^0.2.10", | ||
"@mufan/eslint-plugin": "^0.1.48", | ||
"eslint": "^8.3.0", | ||
"prettier": "^2.4.1", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^4.4.4" | ||
"typescript": "^4.5.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13414
363