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

Doesn't work with "strictNullChecks" #46

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions