provide @types/llrt .d.ts files for built in modules #122
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
javascript
Pull requests that update Javascript code
Expressing the Node.js compatibility matrix and API guide as typescript .d.ts files would let users statically check that they are only using supported features, and provide inline IDE documentation.
Users could rely on @types/node but would have to guess at the target version (is it 20, 18, 22?) and remember which APIs aren't supported or rely on tests.
The text was updated successfully, but these errors were encountered: