Closed
Description
TypeScript Version: 2.1.0-dev.20160819
Code
self-contained project here: https://github.com/Strate/typescript-issues
Expected behavior:
No compilation errors
Actual behavior:
If allowSyntheticDefaultImports
enabled project compilation fails with:
3 let a = SomeClass.SomeEnum.one;
~~~~~~~~
index.tsx(3,19): error TS2339: Property 'SomeEnum' does not exist on type 'typeof "/devel/src/github/Strate/typescript-issues/modules/SomeClass"'.
5 let b = <SomeClass />;
~~~~~~~~~
index.tsx(5,10): error TS2604: JSX element type 'SomeClass' does not have any construct or call signatures.
If allowSyntheticDefaultImports
disabled project compilation succees
Typescript on version 2.0 beta works perfectly.