chore(deps): update dependency typescript to v6 #683
Annotations
9 errors and 4 warnings
|
build
Process completed with exit code 2.
|
|
build:
src/validator.js#L190
Argument of type 'object' is not assignable to parameter of type 'Schema'.
|
|
build:
src/validator.js#L180
Argument of type 'unknown' is not assignable to parameter of type 'object'.
|
|
build:
src/validator.js#L168
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ readonly string: StringConstructor; readonly array: ArrayConstructor; readonly object: ObjectConstructor; readonly number: NumberConstructor; ... 4 more ...; readonly async: new (...args: unknown[]) => (...args: unknown[]) => unknown; }'.
|
|
build:
src/validator.js#L162
Expected 2 arguments, but got 4.
|
|
build:
src/validator.js#L103
'value' is of type 'unknown'.
|
|
build:
src/validator.js#L103
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ readonly string: StringConstructor; readonly array: ArrayConstructor; readonly object: ObjectConstructor; readonly number: NumberConstructor; ... 4 more ...; readonly async: new (...args: unknown[]) => (...args: unknown[]) => unknown; }'.
|
|
build:
src/validator.js#L88
Argument of type 'object' is not assignable to parameter of type 'Record<string, unknown>'.
|
|
build:
src/validator.js#L85
Argument of type 'object' is not assignable to parameter of type 'Record<string, unknown>'.
|
|
build:
src/validator.js#L118
Method 'filterItems' has too many statements (24). Maximum allowed is 20
|
|
build:
src/schemas/test3.js#L3
Prefer a more specific type to `any`
|
|
build:
src/schemas/test1.js#L6
Prefer a more specific type to `any`
|
|
build:
src/schemas/person.js#L6
Prefer a more specific type to `any`
|