Replies: 1 comment 1 reply
-
Hey, you can import js files into TypeScript. What errors are you running into from ts when trying to do this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I'm running an Express API and we've had a requirement to add a really small admin dashboard to it - I'm inclined to use SvelteKit to get the team used to this on a larger project.
However testing out the node-adapter for SveltKit appears to generate two files index.js & handler.js as pert the docs. Our Express API is written in TypeScript and so we can't import these JS files without changing our TS config, which we're reluctant to do.
Is it posible to either:
a) Generate TS files from the Adapter, or
b) Explain how this would be used in a TypeScript project?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions