Skip to content

feat: Add basic support for required() and omit() methods #91

feat: Add basic support for required() and omit() methods

feat: Add basic support for required() and omit() methods #91

Triggered via push June 29, 2025 03:20
Status Success
Total duration 1m 30s
Artifacts

ci.yml

on: push
Matrix: Lint, Test, and Typecheck
Fit to window
Zoom out
Zoom in

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