complexInterfaceNeedsCheckInterface '{{name}}' requires Ianitor.Check<T> annotation (interfaces always need explicit checking)small-rules/enforce-ianitor-check-typeEnforce Ianitor.Check<T> type annotations on complex TypeScript types
complexInterfaceNeedsCheckInterface '{{name}}' requires Ianitor.Check<T> annotation (interfaces always need explicit checking)missingIanitorCheckTypeComplex type (score: {{score}}) requires Ianitor.Check<T> annotation for type safetyThis rule accepts one options object after the severity.
const isUser = Ianitor.strictInterface({ name: Ianitor.string, age: Ianitor.number, profile: Ianitor.interface({ email: Ianitor.string, settings: Ianitor.record(Ianitor.string, Ianitor.unknown), }),});const validator: Ianitor.Check<User> = Ianitor.interface({ name: Ianitor.string });