fix: handle all type-only imports by piping TS imports by @agilgur5 in #406
If you have ever had issues with some files not being type-checked or not generating declarations, this should conclusively fix all such issues. This type of issue used to occur if you had a type-only / interface-only / emit-less file, i.e. a file with only TS types and interfaces that would produce no JS.
NOTE: this is a re-tag of 0.33.0 which was tied to wrong commit originally (it was not compiled / built previously). This re-tag is equivalent to 0.33.0 on NPM.
This fixes a regression that caused significant confusion when there was overlap between the plugin's include / exclude and the tsconfig's include / exclude, such as in #225 and #280
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rollup-plugin-typescript2 from 0.32.1 to 0.34.0.
Release notes
Sourced from rollup-plugin-typescript2's releases.
... (truncated)
Commits
0b99f8e
- build for 34.0ba26293
refactor: consolidatediagnostics
funcs into single file (#416)e98e0ed
docs: add a simple CHANGELOG.md that references GH releases (#419)560ed8d
fix: handle all type-only imports by piping TS imports (#406)c6be0eb
refactor(cache): simplify creating / using thecache
var (#415)1e71d50
clean: removeConsoleContext
entirely by usingbuildStart
(#414)79053fe
refactor: combinecheck-tsconfig
withparse-tsconfig
(#413)27356be
test: addprint-diagnostics
spec (#405)0c8e88d
refactor(test): heavily simplify thecontext
helper (#404)8886383
fix(dx): remove extra quote in emitDeclarationOnly log statement (#412)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)