serviejs / popsicle

Simple HTTP requests for node and the browser
MIT License
246 stars 19 forks source link

Add '.types' to package json #111

Closed vekexasia closed 6 years ago

vekexasia commented 6 years ago

Hey,

I cant import typing in a ts project easily.

A quick, and i think proper way, to expose type definitions is to leverate .types field in package.json.

blakeembrey commented 6 years ago

See https://github.com/blakeembrey/popsicle/issues/97. There's also a few other duplicates if you search for them. It's partially blocked by TypeScript core having no browser resolution support for types and was blocked on @types.