-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Description
Describe the bug
It appears that e.g.SchemaDescription are no longer exported.
Is this on purpose? The README on the other hand still lists it here.
So it seems to not just be an internal type.
To Reproduce
import { SchemaDescription } from 'yup/lib/schema'
export function envConfigFromSchemaDescription(schemaDescription: SchemaDescription): any {
// …
}
Expected behavior
It should not be required to be importing from internal lib folder whatsoever.
import { SchemaDescription } from 'yup'
Platform (please complete the following information):
$ yarn list | grep yup
├─ @types/yup@0.26.37
└─ yup@0.32.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels