You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My company is looking for integrating WinterCG common minimum API into TypeScript config, in order to provide type checking, error highlighting, autocomplete, etc.
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: