Typescript example
toinbis opened this issue · comments
Tomas Čerkasas commented
Would be cool to have one example with https://github.com/cloudflare/worker-typescript-template as basis.
Thanks!
Luke Edwards commented
Hey, didn't use the whole repo because the entire setup isn't really relevant. It should work in any TS configuration. For this, I even just added ts-check
to turn on VS Code Intellisense.
Making this example exposed a slight bug/annoyance in the type definitions, so thanks for this :)
Hope it helps
Tomas Čerkasas commented
That was quick! :) Thanks, @lukeed ! Will try it and will let you know here if all went well! :)