Skip to content

Add types for vuex-i18n - #21150

Merged
DanielRosenwasser merged 10 commits into
DefinitelyTyped:masterfrom
jaeggerr:vuex-i18n
Nov 10, 2017
Merged

DanielRosenwasser merged 10 commits into
DefinitelyTyped:masterfrom
jaeggerr:vuex-i18n

Conversation

@jaeggerr

Copy link
Copy Markdown

Please fill in this template.

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm run lint package-name (or tsc if no tslint.json is present).

Select one of these and delete the others:

If adding a new definition:

  • The package does not provide its own types, and you can not add them.
  • If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.
  • Create it with dts-gen --dt, not by basing it on an existing project.
  • tslint.json should be present, and tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

@RyanCavanaugh

Copy link
Copy Markdown
Member

@jaeggerr Please fix the failures indicated in the Travis CI log.

@RyanCavanaugh RyanCavanaugh added New Definition This PR creates a new definition package. The Travis CI build failed labels Oct 31, 2017
@jaeggerr

jaeggerr commented Oct 31, 2017 •

Copy link
Copy Markdown
Author

Dependency vuex not in whitelist; please make a pull request to types-publisher adding it.

I'm not sure of what I should do.
vuex is a dependency for the library and the test file, but I do not need it to declare the definitions.
Can I remove the dependency from package.json ?

@ghost

ghost commented Oct 31, 2017 •

Copy link
Copy Markdown

@jaeggerr I've added vuex to the whitelist.
Also, please rebase against master; #21156 fixes tests.

Comment thread types/vuex-i18n/index.d.ts Outdated
// Project: https://github.com/dkfbasel/vuex-i18n
// Definitions by: Cedric Kemp <https://github.com/jaeggerr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// TypeScript Version: 2.3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can be changed to // TypeScript Version: 2.3

@RyanCavanaugh RyanCavanaugh added the Other Approved This PR was reviewed and signed-off by a community member. label Nov 3, 2017
Comment thread types/vuex-i18n/vue.d.ts
@@ -0,0 +1,15 @@
/**

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This doesn't need to be its own file. You can augment vue from within index.d.ts.

@RyanCavanaugh

Copy link
Copy Markdown
Member

Approved by third party. PR appears ready to merge pending review by a maintainer.

@typescript-bot

Copy link
Copy Markdown
Contributor

Approved by third party. PR appears ready to merge pending review by a maintainer.

@DanielRosenwasser
DanielRosenwasser merged commit 55e9970 into DefinitelyTyped:master Nov 10, 2017
@ghost ghost mentioned this pull request Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Definition This PR creates a new definition package. Other Approved This PR was reviewed and signed-off by a community member.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants