Restricting a Schema to a Tagged Schema in TypeScript
Is there a
Schema.Schema<any> but for a tagged schema? I want to restrict <T extends Schema.Schema<any>>(dataSchema: T) => ... to have T to be a tagged schema