- 
                Notifications
    You must be signed in to change notification settings 
- Fork 940
Open
Description
Can't omit field
export const SchemaVideoData: Schema<TypeVideoDataInterface> = object({
    src: string().required(),
    width: number().required(),
    height: number().required(),
})
const type2 = SchemaVideoData.omit(['src'])
Get error:
Property 'omit' does not exist on type 'Schema<TypeVideoDataInterface, any, any, "">'
Metadata
Metadata
Assignees
Labels
No labels