-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Could we use a generic here-
Line 4 in a98cf75
export function defineUntypedSchema(options: SchemaDefinition) { |
export function defineUntypedSchema<T extends SchemaDefinition>(options: T)
Otherwise I don't believe the return value to be strongly-typed; plus I may want to provide the generic explicitly and make sure that options
corresponds to it (with appropriate $resolve
functions, etc).
Metadata
Metadata
Assignees
Labels
No labels