我下代码下来试运行,vscode下编译报错, 是啥情况?
src/controller/index.ts(53,12): error TS2339: Property 'render' does not exist on type 'IRouterContext'.
src/controller/user/index.ts(7,10): error TS2339: Property 'session' does not exist on type 'IRouterContext'.
src/controller/user/index.ts(7,32): error TS2339: Property 'session' does not exist on type 'IRouterContext'.
src/controller/user/index.ts(11,38): error TS2339: Property 'session' does not exist on type 'IRouterContext'.
src/controller/user/login.ts(19,7): error TS2339: Property 'session' does not exist on type 'IRouterContext'.
src/controller/user/logout.ts(7,6): error TS2339: Property 'session' does not exist on type 'IRouterContext'.
我下代码下来试运行,vscode下编译报错, 是啥情况? src/controller/index.ts(53,12): error TS2339: Property 'render' does not exist on type 'IRouterContext'. src/controller/user/index.ts(7,10): error TS2339: Property 'session' does not exist on type 'IRouterContext'. src/controller/user/index.ts(7,32): error TS2339: Property 'session' does not exist on type 'IRouterContext'. src/controller/user/index.ts(11,38): error TS2339: Property 'session' does not exist on type 'IRouterContext'. src/controller/user/login.ts(19,7): error TS2339: Property 'session' does not exist on type 'IRouterContext'. src/controller/user/logout.ts(7,6): error TS2339: Property 'session' does not exist on type 'IRouterContext'.
nodejs 7.9