Relative Content

Tag Archive for javascriptnode.jsmongodbnestjstypeorm

how can we add the function return type in request object in nest js

i want to create a response format serialization for globally so i want to add the function return type in request object. so in the interceptor i can take the return type and apply the serialization. i want to apply the interceptor globally for all the module to commonaly used the global level. so thats why i want to add the function return type in request object