feat: Add basic support for required() and omit() methods
#91
Annotations
18 warnings
|
Lint, Test, and Typecheck (20):
src/Valimock.ts#L496
Unsafe type assertion: type 'InferOutput<Value extends GenericSchema ? RecordSchema<Key, Value, ErrorMessage<RecordIssue> | undefined> : RecordSchemaAsync<Key, Value, ErrorMessage<RecordIssue> | undefined>>' is more narrow than the original type
|
|
Lint, Test, and Typecheck (20):
src/Valimock.ts#L478
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
|
Lint, Test, and Typecheck (20):
src/Valimock.ts#L381
Unsafe type assertion: type 'never' is more narrow than the original type
|
|
Lint, Test, and Typecheck (20):
src/Valimock.ts#L235
Unsafe type assertion: type 'never' is more narrow than the original type
|
|
Lint, Test, and Typecheck (20):
src/Valimock.ts#L235
Unsafe type assertion: type 'keyof Faker' is more narrow than the original type
|
|
Lint, Test, and Typecheck (20):
src/Valimock.ts#L230
Unsafe type assertion: type 'keyof Faker' is more narrow than the original type
|
|
Lint, Test, and Typecheck (24):
src/Valimock.ts#L496
Unsafe type assertion: type 'InferOutput<Value extends GenericSchema ? RecordSchema<Key, Value, ErrorMessage<RecordIssue> | undefined> : RecordSchemaAsync<Key, Value, ErrorMessage<RecordIssue> | undefined>>' is more narrow than the original type
|
|
Lint, Test, and Typecheck (24):
src/Valimock.ts#L478
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
|
Lint, Test, and Typecheck (24):
src/Valimock.ts#L381
Unsafe type assertion: type 'never' is more narrow than the original type
|
|
Lint, Test, and Typecheck (24):
src/Valimock.ts#L235
Unsafe type assertion: type 'never' is more narrow than the original type
|
|
Lint, Test, and Typecheck (24):
src/Valimock.ts#L235
Unsafe type assertion: type 'keyof Faker' is more narrow than the original type
|
|
Lint, Test, and Typecheck (24):
src/Valimock.ts#L230
Unsafe type assertion: type 'keyof Faker' is more narrow than the original type
|
|
Lint, Test, and Typecheck (22):
src/Valimock.ts#L496
Unsafe type assertion: type 'InferOutput<Value extends GenericSchema ? RecordSchema<Key, Value, ErrorMessage<RecordIssue> | undefined> : RecordSchemaAsync<Key, Value, ErrorMessage<RecordIssue> | undefined>>' is more narrow than the original type
|
|
Lint, Test, and Typecheck (22):
src/Valimock.ts#L478
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
|
Lint, Test, and Typecheck (22):
src/Valimock.ts#L381
Unsafe type assertion: type 'never' is more narrow than the original type
|
|
Lint, Test, and Typecheck (22):
src/Valimock.ts#L235
Unsafe type assertion: type 'never' is more narrow than the original type
|
|
Lint, Test, and Typecheck (22):
src/Valimock.ts#L235
Unsafe type assertion: type 'keyof Faker' is more narrow than the original type
|
|
Lint, Test, and Typecheck (22):
src/Valimock.ts#L230
Unsafe type assertion: type 'keyof Faker' is more narrow than the original type
|