Skip to content

Fix ValidationError export#2

Merged
elsmr merged 1 commit into
apideck-libraries:mainfrom
jeffposnick:patch-1
Jun 10, 2021
Merged

Fix ValidationError export#2
elsmr merged 1 commit into
apideck-libraries:mainfrom
jeffposnick:patch-1

Conversation

@jeffposnick

Copy link
Copy Markdown
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

elsmr commented Jun 10, 2021

Copy link
Copy Markdown
Contributor

Hi, thanks for the fix! Looks good

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

elsmr commented Jun 10, 2021

Copy link
Copy Markdown
Contributor

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