Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript example #9

Closed
toinbis opened this issue Aug 4, 2021 · 2 comments
Closed

Typescript example #9

toinbis opened this issue Aug 4, 2021 · 2 comments

Comments

@toinbis
Copy link

toinbis commented Aug 4, 2021

Would be cool to have one example with https://github.com/cloudflare/worker-typescript-template as basis.

Thanks!

@lukeed lukeed closed this as completed in 258f96e Aug 4, 2021
@lukeed
Copy link
Owner

lukeed commented Aug 4, 2021

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

@toinbis
Copy link
Author

toinbis commented Aug 4, 2021

That was quick! :) Thanks, @lukeed ! Will try it and will let you know here if all went well! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants