forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(body-parser): don't shadow namespace
Shadowing causes issues with some parsers like `eslint-plugin-import`: import-js/eslint-plugin-import#2861 Even if those plugins are at fault, this is an improvement in style: Actually, the namespace is not necessary at all anymore after DefinitelyTyped#57168 Hover doc looks slightly nicer: `const bodyParser: BodyParser` instead of `const bodyParser: bodyparser.BodyParser` `unnecessary-bind` linter message on `npm test body-parser` is from `master`.
- Loading branch information
Showing
1 changed file
with
78 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters