Skip to content

skipLibCheck: false does not output diagnostics for ambient types #212

Open
@agilgur5

Description

@agilgur5

What happens and why it is wrong

tsconfig.compilerOptions.skipLibCheck is by default false, but will always be forced to true when using rpts2.

This isn't documented in the README "Some compiler options are forced" so I'm not sure why this is the case or if this is intentional. I couldn't find any code references or issues about this.

Related to jaredpalmer/tsdx#529 (comment)

Environment

[email protected]

Versions

  • typescript: 3.7.3
  • rollup: 1.27.8
  • rollup-plugin-typescript2: 0.25.3

rollup.config.js

TSDX Rollup

tsconfig.json

package.json

plugin output with verbosity 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working properlypriority: backlogLow priorityproblem: no reproNo reproduction was provided (and have not tried to repro without one)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions