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

Point package.json "types" field to generated .d.ts instead of raw .ts #36

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

kkelk
Copy link
Contributor

@kkelk kkelk commented Sep 26, 2023

The current config results in the dependent package compiling this package, which works in most cases but can fail if the dependent package has an incompatible tsconfig.json, e.g. by applying stricter options such as exactOptionalPropertyTypes.

This PR should bring the package in-line with the standard way of doing this, making sure it works for all tsconfig.json settings. It looks like a similar change was already made in the main elysia package as part of this commit.

@SaltyAom SaltyAom merged commit f7e552f into elysiajs:main Oct 27, 2023
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