Skip to content

add: "types" to each package.json - #221

Merged
ericsciple merged 1 commit into
actions:masterfrom
keroxp:patch-types-field
Dec 17, 2019
Merged

ericsciple merged 1 commit into
actions:masterfrom
keroxp:patch-types-field

Conversation

@keroxp

@keroxp keroxp commented Nov 15, 2019

Copy link
Copy Markdown
Contributor

I'm using IntelliJ IDEA and IDE couldn't find type definition of packages. I think it is because each package.json doesn't contain types field, isn't it? Editing files under node_modules resolved the issue.

@keroxp

keroxp commented Nov 29, 2019

Copy link
Copy Markdown
Contributor Author

Hey, is there no one who review this PR? Or no one consider this as a problem?
I want to know why package.json doesn't have types field for auto generated type definition files. Other IDE users don't have a trouble?

@keroxp

keroxp commented Dec 17, 2019

Copy link
Copy Markdown
Contributor Author

@ericsciple Have you seen this PR? How do you think about the change? Why still no reactions?

@ericsciple
ericsciple merged commit 606e1f2 into actions:master Dec 17, 2019
@ericsciple

Copy link
Copy Markdown
Contributor

@keroxp thanks!

@keroxp

keroxp commented Dec 19, 2019

Copy link
Copy Markdown
Contributor Author

@ericsciple Thank you for reviewing!

"main": "lib/tool-cache.js",
"types": "lib/tool-cache.d.ts",
"directories": {
"lib": "lib",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kool

Derrick-MUGISHA pushed a commit to Derrick-MUGISHA/toolkit that referenced this pull request Oct 12, 2026
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.

4 participants