Suite of AT Protocol TypeScript libraries built on web standards
21
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 14 lines 300 B view raw
1import { 2 Schema, 3 type ValidationResult, 4 type ValidatorContext, 5} from "../validation.ts"; 6 7export class NeverSchema extends Schema<never> { 8 validateInContext( 9 input: unknown, 10 ctx: ValidatorContext, 11 ): ValidationResult<never> { 12 return ctx.issueInvalidType(input, "never"); 13 } 14}