Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add types property to package.json for typescript 2.0 #75

Closed
hodavidhara opened this issue Oct 2, 2016 · 1 comment
Closed

add types property to package.json for typescript 2.0 #75

hodavidhara opened this issue Oct 2, 2016 · 1 comment
Labels

Comments

@hodavidhara
Copy link

Trying to use popsicle with typescript 2.0 gave me the error: test.ts (1,22): Cannot find module 'popsicle'. (2307)

According to https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html it seem like a types or typings property needs to be added.

@blakeembrey
Copy link
Member

blakeembrey commented Oct 2, 2016

No thanks. You need to use Typings to install the module. I'll be happy to use TypeScript @types once they support redirects, but until then all my tooling requires Typings because of the dependencies. If there was no dependencies, I'd already be using the typings field - this is not is a new TypeScript 2.0 feature and has existed since 1.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants