-
Notifications
You must be signed in to change notification settings - Fork 15
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
Provide TypeScript config for minimum common API #31
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My company is looking for integrating WinterCG common minimum API into TypeScript config, in order to provide type checking, error highlighting, autocomplete, etc.
1. TypeScript base config
Developers may be able to write something like this in tsconfig.json:
This tsconfig should at least support the common minimum APIs which are listed in https://blog.cloudflare.com/introducing-the-wintercg/ and https://common-min-api.proposal.wintercg.org/.
Install the wintercg tsconfig:
2.
lib
Provide WinterCG common minimum API access in the
lib
configuration. For example:lib
can be set toWinterCG
.The text was updated successfully, but these errors were encountered: