Skip to content

Jquery countto#24743

Merged
paulvanbrenk merged 4 commits intoDefinitelyTyped:masterfrom
AndersonFriaca:jquery-countto
Apr 6, 2018
Merged

Jquery countto#24743
paulvanbrenk merged 4 commits intoDefinitelyTyped:masterfrom
AndersonFriaca:jquery-countto

Conversation

@AndersonFriaca
Copy link
Copy Markdown
Contributor

  • 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.)
  • Add or edit tests to reflect the change. (Run with npm test.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm run lint package-name (or tsc if no tslint.json is present).

If changing an existing definition:

@typescript-bot typescript-bot added the Unowned This PR touches a package that doesn't have any listed owners. label Apr 5, 2018
@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented Apr 5, 2018

@AndersonFriaca Thank you for submitting this PR!

Because this PR doesn't have any code reveiwers, a DefinitelyTyped maintainer will be reviewing it in the next few days once the Travis CI build passes.

In the meantime, if the build fails or a merge conflict occurs, I'll let you know. Have a nice day!

* A handler that is used to format the current value before rendering to the DOM
*/
formatter: (value: number, options: Options) => string;
formatter?: (value: number, options: Options) => string;
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.

Nit: Maybe worth changing this whole interface to:

export type Options = Partial<{
  from: number,
  to: number,
  speed: number,
  ...
}>;

so that future maintainers don't need to remember to add ? to the keys?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Great idea, thanks

@paulvanbrenk paulvanbrenk merged commit f84cc39 into DefinitelyTyped:master Apr 6, 2018
@AndersonFriaca AndersonFriaca deleted the jquery-countto branch April 14, 2018 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Unowned This PR touches a package that doesn't have any listed owners.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants