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 }}
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
CLI: 6.0.0
Cross-platform modules: 6.0.0
Android Runtime:6.0.0
iOS Runtime:6.0.0
Plugin(s):
Node.js: 10.16.0
Please, attach your package.json and webpack.config.js as these configurations are usually critical for investigating issues with webpack
Describe the bug
Previously it was possible to have an exported const enum defined in a plugin's .d.ts and then use its values in the app. With the new web pack only workflow and new version of the web pack plugin this is no longer possible.
To Reproduce
Expected behavior
Users should be able to use const enums defined in the .d.ts files of plugins/npm packages.
Sample project const-enum-imports.zip
Tried both with export const and declare const in the .d.ts but neither are working.