-
Notifications
You must be signed in to change notification settings - Fork 506
Open
Labels
kind: bugSomething isn't workingSomething isn't workingscope: upstreamIssue in upstream dependencyIssue in upstream dependencytopic: rollup-plugin-typescript2Issues and PRs relating to rpts2Issues and PRs relating to rpts2
Description
Current Behavior
After creating a simple react-with-storybook
tsdx project (using create
), add the following files:
src/interfaces/test.ts:
export interface Foo {
bar: asd; // should not compile!
}
src/interfaces/index.ts:
export * from './test';
src/index.tsx:
// ...
export * from './interfaces';
Using this setup, running npm run start
"successfully" builds the package, although it should error out due to the above error.
In contrast, when I run tsc --noEmit
, the error is successfully recognized.
Expected behavior
When running npm run start
, I expect it to catch the error.
Your environment
Software | Version(s) |
---|---|
TSDX | 0.13.2 |
TypeScript | 3.9.3 |
npm | 6.14.4 |
Node | 14.1.10 |
Operating System | Win10 |
Find the minimal example from above here:
lib2.zip
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't workingSomething isn't workingscope: upstreamIssue in upstream dependencyIssue in upstream dependencytopic: rollup-plugin-typescript2Issues and PRs relating to rpts2Issues and PRs relating to rpts2