dvtng / react-loading-skeleton

Create skeleton screens that automatically adapt to your app!
MIT License
3.87k stars 155 forks source link

`"moduleResolution": "nodenext"` #187

Closed srmagura closed 1 year ago

srmagura commented 1 year ago

Closes #181.

Have tested this pretty significantly here: https://github.com/srmagura/react-loading-skeleton-test-projects. In addition to testing TypeScript 5.0, I also tested the oldest version of TypeScript (4.3) supported by DefinitelyTyped.

This might look like a big code change, but the only thing it changes in the compiled output is that the imports in the .d.ts files now include a .js extension.