Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export types from the package root #650

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rattrayalex
Copy link

Currently I have to do this:

import type { OpenAPIV3 } from "express-openapi-validator/dist/framework/types";

Looking through the framework/types.ts file, it seems many of the types might be useful to users of the library, though I'm not sure if that's true of all of them.

Currently I have to do this:

```ts
import type { OpenAPIV3 } from "express-openapi-validator/dist/framework/types";
```

Looking through the `framework/types.ts` file, it seems many of the types might be useful to users of the library, though I'm not sure if that's true of all of them.
@cdimascio
Copy link
Owner

exporting all is unlikely what we want. there is certainly value in separating out the OAS types and exporting them independently

@rattrayalex
Copy link
Author

Which types would you like to make public?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants