@@ -40,16 +40,15 @@ The validation errors are detailed. Adapted from the brilliant work in `flow-run
40
40
- [ ` t.oneOf(t.string(), t.number()) ` ] ( #toneoftstring-tnumber )
41
41
- [ ` t.alias(name, type) ` ] ( #taliasname-type )
42
42
- [ ` t.ref(() => typeAlias) ` ] ( #tref--typealias )
43
- - [ ` t.Type<T> ` ] ( #ttype )
43
+ - [ ` t.Type<T> ` ] ( #ttypet )
44
44
- [ ` accepts(input: any): boolean ` ] ( #acceptsinput-any-boolean )
45
- - [ ` assert<V extends T>(input: any, prefix = '', path?: (string | number | symbol)[]): V ` ] ( #assertinput-any-prefix---path-string--number--symbol-v )
46
- - [ ` validate(input: any, prefix = '', path?: (string | number | symbol)[]): Validation<T> ` ] ( #validateinput-any-prefix---path-string--number--symbol-validation )
47
- - [ ` warn(input: any, prefix = '', path?: (string | number | symbol)[]): void ` ] ( #warninput-any-prefix---path-string--number--symbol-void )
45
+ - [ ` assert<V extends T>(input: any, prefix = '', path?: (string | number | symbol)[]): V ` ] ( #assertv-extends-tinput-any-prefix---path-string--number--symbol-v )
46
+ - [ ` validate(input: any, prefix = '', path?: (string | number | symbol)[]): Validation<T> ` ] ( #validateinput-any-prefix---path-string--number--symbol-validationt )
48
47
- [ ` toString(): string ` ] ( #tostring-string )
49
- - [ ` t.ExtractType<T extends Type<any>> ` ] ( #textracttype )
50
- - [ ` t.TypeAlias<T> ` ] ( #ttypealias )
48
+ - [ ` t.ExtractType<T extends Type<any>> ` ] ( #textracttypet-extends-typeany )
49
+ - [ ` t.TypeAlias<T> ` ] ( #ttypealiast )
51
50
- [ ` readonly name: string ` ] ( #readonly-name-string )
52
- - [ ` addConstraint(...constraints: TypeConstraint<T>[]): this ` ] ( #addconstraintconstraints-typeconstraint -this )
51
+ - [ ` addConstraint(...constraints: TypeConstraint<T>[]): this ` ] ( #addconstraintconstraints-typeconstraintt -this )
53
52
- [ Custom Constraints] ( #custom-constraints )
54
53
- [ Recursive Types] ( #recursive-types )
55
54
0 commit comments