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
plugin.d.ts seems to have conflicting exports that cause TypeScript errors.
The errors:
node_modules/@wasm-tool/wasm-pack-plugin/plugin.d.ts:23:1 - error TS2309: An export assignment cannot be used in a module with other exported elements.
23 export = WasmPackPlugin
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@wasm-tool/wasm-pack-plugin/plugin.d.ts:26:5 - error TS2666: Exports and export assignments are not permitted in module augmentations.
26 export { WasmPackPluginOptions, WasmPackPlugin }
~~~~~~
node_modules/@wasm-tool/wasm-pack-plugin/plugin.d.ts:26:14 - error TS2484: Export declaration conflicts with exported declaration of 'WasmPackPluginOptions'.
26 export { WasmPackPluginOptions, WasmPackPlugin }
~~~~~~~~~~~~~~~~~~~~~
node_modules/@wasm-tool/wasm-pack-plugin/plugin.d.ts:27:5 - error TS2666: Exports and export assignments are not permitted in module augmentations.
27 export default WasmPackPlugin
~~~~~~
node_modules/@wasm-tool/wasm-pack-plugin/plugin.d.ts:28:5 - error TS2666: Exports and export assignments are not permitted in module augmentations.
28 export = WasmPackPlugin
~~~~~~
On the surface, having both export default and export = in the same declaration file seems invalid, but I'm not enough of a TypeScript expert to know if there's some valid reason to do this. wasm-pack-plugin-ts-errors.tar.gz
The text was updated successfully, but these errors were encountered:
plugin.d.ts seems to have conflicting exports that cause TypeScript errors.
The errors:
On the surface, having both
export default
andexport =
in the same declaration file seems invalid, but I'm not enough of a TypeScript expert to know if there's some valid reason to do this.wasm-pack-plugin-ts-errors.tar.gz
The text was updated successfully, but these errors were encountered: