Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Doesn't work with "strictNullChecks" #46

Closed
ghost opened this issue Jun 13, 2016 · 2 comments
Closed

Doesn't work with "strictNullChecks" #46

ghost opened this issue Jun 13, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 13, 2016

Hey.

TypeScript version: 1.9.0-dev.20160613-1.0.

If I set strictNullChecks in the tsconfig.json to a boolean value, and not using any configuration in the plugin - typeScript({}) - it throws this: Unknown compiler option strictNullChecks.

If I add some configuration to this, and set target to es5 and module to es6 plus set declaration to false within the plugin itself, and set it to use the TC 2 dev. Everything works.

The performance seems to getting worse also comparing to native TSC when you set the TS inline as an plugin option. 4 - 5 ms vs 2 - 3 ms native.

For me it seems that this plugin doesn't work with latest TS 2.0 Pre version? And I think this is the source for the issue? https://github.com/rollup/rollup-plugin-typescript/blob/master/package.json#L34

This plugin also uses itself as a dev dependency with a much older version of the plugin, and older version of Rollup.

@ghost
Copy link
Author

ghost commented Jun 18, 2016

Any solution on this issues?

@Victorystick
Copy link
Contributor

Just published version 0.7.6. Let me know if you run into any other issues.

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

No branches or pull requests

1 participant