Skip to content

type definitions for v3/4 of 'LevelUp'/'LevelDown' packages. - #28956

Merged
sandersn merged 3 commits into
DefinitelyTyped:masterfrom
danwbyrne:leveldown
Sep 18, 2018
Merged

sandersn merged 3 commits into
DefinitelyTyped:masterfrom
danwbyrne:leveldown

Conversation

@danwbyrne

Copy link
Copy Markdown
Contributor

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.)
  • 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:

  • Provide a URL to documentation or source code which provides context for the suggested changes: <Move TypeScript to DefinitelyTyped Level/community#16>
  • Increase the version number in the header if appropriate.
  • If you are making substantial changes, consider adding a tslint.json containing { "extends": "dtslint/dt.json" }.

In this PR I've added newer versioned declaration files for levelup and leveldown. The only reason I put these two commits together is because when refactoring the older versions into their v1 folders leveldown required the v1 folder of levelup, which it couldn't get yet because that change was done on another branch.

Hopefully this looks right, I know the PR is very ugly though because of moving them into v1 folders and this is the first time I've had to move an older definition around.

@typescript-bot

typescript-bot commented Sep 17, 2018 •

Copy link
Copy Markdown
Contributor

@danwbyrne Thank you for submitting this PR!

Because this is a new definition, a DefinitelyTyped maintainer will be reviewing this PR 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!

@typescript-bot typescript-bot added New Definition This PR creates a new definition package. The Travis CI build failed labels Sep 17, 2018
@typescript-bot

Copy link
Copy Markdown
Contributor

@danwbyrne 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!

@danwbyrne
danwbyrne force-pushed the leveldown branch 2 times, most recently from 2fe1def to 0af670f Compare September 17, 2018 20:45
@typescript-bot

Copy link
Copy Markdown
Contributor

@danwbyrne 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!

@danwbyrne
danwbyrne force-pushed the leveldown branch 2 times, most recently from 52631b5 to 38b2114 Compare September 17, 2018 22:11
@typescript-bot

Copy link
Copy Markdown
Contributor

@danwbyrne 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!

@sandersn

Copy link
Copy Markdown
Contributor

The structure looks OK to me. @MeirionHughes since you wrote the v1 definitions, do you mind taking a look?

@danwbyrne

Copy link
Copy Markdown
Contributor Author

@sandersn actually @MeirionHughes wrote the definitions that I uploaded. I just did the work of converting their external typings to DT with a few tweaks. Bret Little https://github.com/blittle, Thiago de Arruda https://github.com/tarruda are the ones who wrote the v1 definitions.

@sandersn

Copy link
Copy Markdown
Contributor

Ah, I see. Thanks for the clarification.

@sandersn
sandersn merged commit 97cec31 into DefinitelyTyped:master Sep 18, 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.

3 participants