dts-bundle icon indicating copy to clipboard operation
dts-bundle copied to clipboard

Export as default edge case

Open JonWallsten opened this issue 6 years ago • 0 comments

Hi! I have a question/suggestion. Noticed a case that's not working for me.

index.ts:
export { Foo as default } from './foo'

foo.ts:
export class Foo {
}

When using verbose flag i get this:

index
 - export { Foo as default } from 'foo/foo'; was skipped.

In the definition bundle I don't get Foo as default. So there will be a mismatch between runtime and compile time.

JonWallsten avatar Sep 15 '17 13:09 JonWallsten