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
This type definitions declare that the generated JavaScript module exports a default object, ns. Hence it declares that the generated module doesn't export named properties.
This enforces all the consuming applications to be compiled with the esModuleInterop TypeScript directive...or to post-process the type definitions to append the legit named properties declarations.
The text was updated successfully, but these errors were encountered:
When using the CLI command
generateBundles
, the generated type definitions are not exectaly in-sync with the generated JavaScript module.From the following grammar:
Here is what the generated JS module looks like, formatted for clarity:
Here, the module is an object with two properties,
Foo
andBar
. Said differently, the JavaScript module consists of two named properties.But here is what the generated types definition looks like:
This type definitions declare that the generated JavaScript module exports a default object,
ns
. Hence it declares that the generated module doesn't export named properties.This enforces all the consuming applications to be compiled with the
esModuleInterop
TypeScript directive...or to post-process the type definitions to append the legit named properties declarations.The text was updated successfully, but these errors were encountered: