Skip to content

Commit

Permalink
module.exports.inject = inject (#104)
Browse files Browse the repository at this point in the history
Make the TypeScript example work:
`import { inject, DistpatchFunc } from 'light-my-request'`
  • Loading branch information
BlackGlory authored Oct 20, 2020
1 parent 0b68d69 commit 7f614cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,5 @@ function isInjection (obj) {
function toLowerCase (m) { return m.toLowerCase() }

module.exports = inject
module.exports.inject = inject
module.exports.isInjection = isInjection

0 comments on commit 7f614cb

Please sign in to comment.