Skip to content

Add types for [email protected] - #21832

Closed
fiskWasTaken wants to merge 5 commits into
DefinitelyTyped:masterfrom
fiskWasTaken:gaugejs
Closed

fiskWasTaken wants to merge 5 commits into
DefinitelyTyped:masterfrom
fiskWasTaken:gaugejs

Conversation

@fiskWasTaken

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.

I am unable to match the name as the package uses an old-style package name with capital letters. Not sure what to do about that.

@dt-bot

dt-bot commented Nov 29, 2017

Copy link
Copy Markdown
Member

@typescript-bot typescript-bot added the New Definition This PR creates a new definition package. label Nov 29, 2017

@plantain-00 plantain-00 left a comment

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.

Test file is missing.

Comment thread types/gaugejs/tslint.json Outdated
@@ -0,0 +1,79 @@
{
"extends": "dtslint/dt.json",
"rules": {

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.

For new packages, this file should only "extends": "dtslint/dt.json"

Comment thread types/gaugejs/README.md Outdated

These definitions were created by hand based on the CoffeeScript source available at https://github.com/bernii/gauge.js.

Only classes that are designed to be used are typed (the ones exported to window/exports). No newline at end of file

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.

If I'm right, this file isn't needed

@typescript-bot

typescript-bot commented Nov 30, 2017 •

Copy link
Copy Markdown
Contributor

@Fiskie The Travis CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added the Revision needed This PR needs code changes before it can be merged. label Nov 30, 2017
@typescript-bot typescript-bot added The Travis CI build failed and removed Revision needed This PR needs code changes before it can be merged. labels Nov 30, 2017
@mhegazy

mhegazy commented Jan 3, 2018

Copy link
Copy Markdown
Contributor

Thanks for your contribution. This PR has failing CI tests and can not be merged in at the time being. For housekeeping purposes we are closing stale PRs. If you'd still like to merge this code in, please open a new PR that has been merged and rebased with the master branch.

@mhegazy mhegazy closed this Jan 3, 2018
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants