You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior:
If allowSyntheticDefaultImportsenabled 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 allowSyntheticDefaultImportsdisabled project compilation succees
Typescript on version 2.0 beta works perfectly.