You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -49,11 +51,9 @@ export class AssertError extends Error {
49
51
}
50
52
}
51
53
/** Asserts the a value matches the given type. This function returns a TypeScript type asserts predicate and will throw AssertError if value does not match. */
52
-
exportfunctionAssert<ContextextendsTProperties,constTypeextendsTSchema,Resultextendsunknown=Static<Type,Context>>(context: Context,type: Type,value: unknown): asserts value is Result
53
-
54
+
exportfunctionAssert<constTypeextendsTSchema>(type: Type,value: unknown): asserts value is Static<Type>
54
55
/** Asserts the a value matches the given type. This function returns a TypeScript type asserts predicate and will throw AssertError if value does not match. */
55
-
exportfunctionAssert<constTypeextendsTSchema,Resultextendsunknown=Static<Type>>(type: Type,value: unknown): asserts value is Result
56
-
56
+
exportfunctionAssert<ContextextendsTProperties,constTypeextendsTSchema>(context: Context,type: Type,value: unknown): asserts value is Static<Type,Context>
57
57
/** Asserts the a value matches the given type. This function returns a TypeScript type asserts predicate and will throw AssertError if value does not match. */
0 commit comments