NateTheGreatt / bitECS

Functional, minimal, data-oriented, ultra-high performance ECS library written in JavaScript
Mozilla Public License 2.0
923 stars 84 forks source link

Add specified types for import vs require for nodenext resolution #122

Open ThatOneBro opened 1 year ago

ThatOneBro commented 1 year ago

Typescript was complaining about types for bitECS when I had moduleResolution: "NodeNext" set in tsconfig.json. Making this specification in package.json fixes this