@nmtjs/type
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -24,3 +24,3 @@ { | ||
"temporal-polyfill": "^0.2.5", | ||
"@nmtjs/common": "0.1.0" | ||
"@nmtjs/common": "0.1.1" | ||
}, | ||
@@ -30,3 +30,3 @@ "devDependencies": { | ||
"temporal-polyfill": "^0.2.5", | ||
"@nmtjs/common": "0.1.0" | ||
"@nmtjs/common": "0.1.1" | ||
}, | ||
@@ -40,3 +40,3 @@ "files": [ | ||
], | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"scripts": { | ||
@@ -43,0 +43,0 @@ "build": "neemata-build -p neutral --root=./src './**/*.ts'", |
@@ -16,16 +16,13 @@ import { type TNever, Type } from '@sinclair/typebox' | ||
// @ts-expect-error | ||
nullable() { | ||
nullable(): NeverType<true, O> { | ||
throw new Error('NeverType cannot be nullable') | ||
} | ||
// @ts-expect-error | ||
optional() { | ||
optional(): NeverType<N, true> { | ||
throw new Error('NeverType cannot be optional') | ||
} | ||
// @ts-expect-error | ||
nullish() { | ||
nullish(): NeverType<true, true> { | ||
throw new Error('NeverType cannot be nullish') | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
157259
2337