Skip to content

Commit 7f614cb

Browse files
authored
module.exports.inject = inject (#104)
Make the TypeScript example work: `import { inject, DistpatchFunc } from 'light-my-request'`
1 parent 0b68d69 commit 7f614cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,5 @@ function isInjection (obj) {
209209
function toLowerCase (m) { return m.toLowerCase() }
210210

211211
module.exports = inject
212+
module.exports.inject = inject
212213
module.exports.isInjection = isInjection

0 commit comments

Comments
 (0)