@badrap/valita
Advanced tools
Comparing version 0.3.14 to 0.3.15
@@ -474,3 +474,3 @@ /** | ||
*/ | ||
declare const unknown: () => Type<unknown>; | ||
declare const unknown: () => Type; | ||
/** | ||
@@ -477,0 +477,0 @@ * Create a validator that never matches any value, |
@@ -474,3 +474,3 @@ /** | ||
*/ | ||
declare const unknown: () => Type<unknown>; | ||
declare const unknown: () => Type; | ||
/** | ||
@@ -477,0 +477,0 @@ * Create a validator that never matches any value, |
{ | ||
"name": "@badrap/valita", | ||
"version": "0.3.14", | ||
"version": "0.3.15", | ||
"description": "A validation & parsing library for TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -1793,3 +1793,7 @@ /** | ||
*/ | ||
const unknown = singleton<unknown>("unknown", TAG_UNKNOWN, () => undefined); | ||
const unknown: () => Type = singleton<unknown>( | ||
"unknown", | ||
TAG_UNKNOWN, | ||
() => undefined, | ||
); | ||
@@ -1800,3 +1804,3 @@ /** | ||
*/ | ||
const never = singleton<never>( | ||
const never: () => Type<never> = singleton<never>( | ||
"never", | ||
@@ -1803,0 +1807,0 @@ TAG_NEVER, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
489858
8207