I am using getContext with svelte-simple-modal for modals in my project.
Is there a way to use getContext etc. in Typescript files?
I am getting a 500: Function called outside component initialization when calling svelte functions in Typescript files.
I have tried the methods mentioned in how-do-you-import-a-svelte-component-in-a-typescript-file.
Thanks for any help!