soon530 / nestjs-study

來學一下nestjs吧!
0 stars 0 forks source link

Interceptor #34

Open soon530 opened 1 year ago

soon530 commented 1 year ago

https://ithelp.ithome.com.tw/articles/10273045

soon530 commented 1 year ago

Fig推in指令,查了竟然沒有@@?

% nest g in interceptors/hello-world
Invalid schematic "in". Please, ensure that "in" exists in this collection.

itc才是對的 XD

 % nest g itc interceptors/hello-world
CREATE src/interceptors/hello-world/hello-world.interceptor.spec.ts (209 bytes)
CREATE src/interceptors/hello-world/hello-world.interceptor.ts (316 bytes)