阅读背景:

使用Typescript扩展Express Request对象

来源:互联网 

I’m trying to add a property to express request object from a middleware using typescript. However I can’t figure out how to add extra properties to the object. I’d prefer to not use bracket notation if possible. I’m trying to add a property to express request




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: