schteppe / p2.js

JavaScript 2D physics library
Other
2.64k stars 330 forks source link

Missing type definitions in npm package? #302

Open schoening opened 7 years ago

schoening commented 7 years ago

There is no index.d.ts file in the node_modules/p2 folder when installing via npm. Is this intentional?

I have to install the types via @types/p2 which works fine, but the maintainer of that repository @clark-stevenson seems to want to close it. Which just adds to the confusion.

clark-stevenson commented 7 years ago

Hey @schoening

I created a p2 definition a long time ago for internal use but we never actually continued the project and then Phaser people wanted it so I made it public.

I wanted to close down my own version as I assumed I was now competing with an official file by schteppe. index.d.ts

schoening commented 7 years ago

When installing p2 via npm I don't get the index.d.ts file. Or should it be located somewhere other than the package file?