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
Describe the bug
It appears that e.g.
SchemaDescriptionare 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
Expected behavior
It should not be required to be importing from internal
libfolder whatsoever.import { SchemaDescription } from 'yup'Platform (please complete the following information):