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
Hi @XrwrX! It's indeed not written in Typescript (there was no TS support at the time as far as I remember). I won't have time to rewrite it in the near future, but I think you can do the following to get it working:
In a global.dts or some .dts file in your project, add:
declare module 'svelte-timezone-picker';
Or, alternatively, make use of // @ts-ignore or, better, // @ts-expect-error This should go away when rewritten to TS. I know it's not ideal and I'll keep this issue open for when I have time to move to TS.
Do let me know please if any of the above work for now. Thanks!
Hi there, the component looks great, but I'm having trouble getting it working in Sveltekit 1.0 and TypeScript.
Is the Timezone Picker not compatible with TypeScript? Any workaround suggestions? Thank you!
Error on import:
Error on initialization:
The text was updated successfully, but these errors were encountered: