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
{{ message }}
Repository navigation
Difference between import * and import {} with augmented module #12030
/src/a.ts(2,5): error TS2339: Property 'fn' does not exist on type 'Static'.
This is based on angular-ui-router-default-tests.ts in DefinitelyTyped, which currently does not work. angular-ui-router augments the angular module, which also has a export =.
This is based on angular-ui-router-default-tests.ts in DefinitelyTyped, which currently does not work. angular-ui-router augments the angular module, which also has a default export.
because it does not have a default export, but rather exports all meanings of angular as the exports object.
Activity
aluanhaddad commentedon Nov 3, 2016
This isn't actually a default export right? My understanding of UMD declarations is that
export =still hascommonjsimplications. Is that correct?aluanhaddad commentedon Nov 4, 2016
Andy (Andrewkraft) (@Andy-MS) Thank you.
I was tripped up by the statement
because it does not have a default export, but rather exports all meanings of
angularas theexportsobject.