Skip to content

add .d.ts declaration file #1218

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
Apr 2, 2018
Merged

add .d.ts declaration file #1218

merged 1 commit into from
Apr 2, 2018

Conversation

JounQin
Copy link

@JounQin JounQin commented Mar 27, 2018

enable to work with webpack.config.ts

Copy link
Member

@ktsn ktsn left a comment

Choose a reason for hiding this comment

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

Just commented an ignorable nitpicking 😄

@@ -3,6 +3,7 @@
"version": "15.0.0-beta.7",
"description": "Vue single-file component loader for Webpack",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Copy link
Member

Choose a reason for hiding this comment

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

Can we change it to types field since looks like types is the recommendation now?
https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

Copy link
Author

Choose a reason for hiding this comment

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

I used types before, but I find out typings in vue core package.json and vue-router, should it be consistent here?

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I see. I guess it's ok to leave as typings then 🙂

@yyx990803 yyx990803 merged commit 65fbde0 into vuejs:next Apr 2, 2018
@JounQin JounQin deleted the next branch April 3, 2018 01:14
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.

3 participants