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

Make it strict by default and add ability to configure compilerOptions #13

Merged
merged 4 commits into from
Mar 15, 2019

Conversation

BendingBender
Copy link
Collaborator

This PR changes the compiler so that it will respect the config in package.jsons tsd-check.compilerOptions field and pass this config through to the TS compiler.

@sindresorhus
Copy link
Collaborator

I think we should make it strict by default.

source/lib/compiler.ts Outdated Show resolved Hide resolved
@sindresorhus sindresorhus changed the title Add possibility to configure compilerOptions Make it strict by default and add ability to configure compilerOptions Mar 3, 2019
@sindresorhus
Copy link
Collaborator

I think we should also define this: https://github.com/sindresorhus/tsconfig/blob/84f0c5308aa1f5499692b13fc70b227deeb3e621/tsconfig.json#L9 So React stuff will just work.

@SamVerschueren SamVerschueren merged commit acef839 into tsdjs:master Mar 15, 2019
@SamVerschueren
Copy link
Collaborator

Thanks 🎉

@BendingBender BendingBender deleted the compiler-config branch March 18, 2019 13:33
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.

3 participants