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

Fix ValidationError export #2

Merged
merged 1 commit into from
Jun 10, 2021
Merged

Conversation

jeffposnick
Copy link
Contributor

'types/ValidationError' ends up being resolved incorrectly when consuming this package from npm, with moduleResolution: 'node' configured in the TypeScript compiler.

You could alternatively switch it to './types/ValidationError' (with the leading ./ making the path relative) but since ValidationError is already imported from that path earlier in the file, it doesn't seem necessary?

@elsmr
Copy link
Contributor

elsmr commented Jun 10, 2021

Hi, thanks for the fix! Looks good

@elsmr elsmr merged commit 2c826c1 into apideck-libraries:main Jun 10, 2021
@elsmr
Copy link
Contributor

elsmr commented Jun 10, 2021

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.

2 participants