Add Schema old behaviour back via Options #2208
Annotations
10 errors
Run npm test:
test-d/schema.ts#L41
Type 'string[]' is not assignable to type 'FooOption'.
|
Run npm test:
test-d/schema.ts#L42
Type '{ key: string; }' is not assignable to type 'string'.
|
Run npm test:
test-d/schema.ts#L65
Argument of type 'string' is not assignable to parameter of type 'FooOption[]'.
|
Run npm test:
test-d/schema.ts#L66
Argument of type 'string' is not assignable to parameter of type 'FooOption[]'.
|
Run npm test:
test-d/schema.ts#L67
Argument of type 'string' is not assignable to parameter of type '{ key: FooOption; }[]'.
|
Run npm test:
test-d/schema.ts#L98
Type 'ComplexOption[]' is missing the following properties from type 'ComplexOption': type, validation
|
Run npm test:
test-d/schema.ts#L99
Type 'ComplexOption[]' is not assignable to type 'ComplexOption'.
|
Run npm test:
test-d/schema.ts#L100
Type '{ key: ComplexOption; }[]' is missing the following properties from type 'ComplexOption': type, validation
|
Run npm test:
test-d/schema.ts#L121
Argument of type 'ComplexOption' is not assignable to parameter of type 'ComplexOption[]'.
|
Run npm test:
test-d/schema.ts#L122
Argument of type 'ComplexOption' is not assignable to parameter of type 'ComplexOption[]'.
|
Loading