umi-request icon indicating copy to clipboard operation
umi-request copied to clipboard

OnionMiddleware 的 next 应该是返回一个 Promise

Open hzgotb opened this issue 4 years ago • 2 comments

OnionMiddleware 的 next 应该是返回一个 Promise,这样在 ts 中 await 时就不会提示'await' has no effect on the type of this expression.ts(80007)

hzgotb avatar Mar 13 '20 03:03 hzgotb

@chenjsh36

afc163 avatar Sep 14 '20 05:09 afc163

这个 PR 不合并么?

mrbone avatar Dec 25 '21 17:12 mrbone