Declare module with default export class fails to build #1472
firefish5000
started this conversation in
General
Replies: 1 comment
-
Huh, there's a chance that Snowpack doesn't work with We should add a fix to just ignore |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
snowpack build seems to fail when a
d.ts
file contains a declare module with a default export class.works fine with tsc and snowpack dev. Fails on snowpack build with
For reference, here is the Svelte2TsxComponent definition. Should be unrelated to the issue
Additional usage example, which will also trigger this issue
Adds typings to the untyped `svelte-awesome` packageBeta Was this translation helpful? Give feedback.
All reactions