soon530 / nestjs-study

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

Interceptor #34

Open soon530 opened 2 years ago

soon530 commented 2 years ago

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

soon530 commented 2 years 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)