tsdjs / tsd

Check TypeScript type definitions
MIT License
2.38k stars 68 forks source link

Add support for nodenext moduleResolution #149

Closed perrin4869 closed 2 years ago

perrin4869 commented 2 years ago

Edit: Sorry, failed to leave a description! This change aims to set the moduleResolution to nodenext or node16 when appropriate. This allows for using nodenext features inside tsd test files, such as self-module imports, which I have tested here. This is the feature that I am missing to incorporate tsd in https://github.com/dotcore64/p-from-callback/pull/15 Thanks!

perrin4869 commented 2 years ago

closes https://github.com/SamVerschueren/tsd/issues/144