Skip to content

Fix Typescript typings reference in package.json #32

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

Merged
merged 1 commit into from
Jun 15, 2017

Conversation

pauloppenheim-gingerlabs
Copy link
Contributor

In package.json, Typescript uses the typings field for typings inclusion to parallel the main field. Types will not import in projects with "moduleResolution": "node" in their tsconfig.json without this being set properly. ("Classic" resolution will find the typings sitting next to the code automatically.) The Typescript handbook page for "Module Resolution" has had this since it was created: microsoft/TypeScript-Handbook@ebcc381#diff-25c8beea244b6bab4b70c89e290fdb4e

Verified

This commit was signed with the committer’s verified signature. The key has expired.
kylekurz Kyle Kurz
@jackbearheart jackbearheart merged commit 41f03e1 into jackbearheart:master Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants