Closed kirit0s closed 4 years ago
export declare function ClearCookies(...cookies: string[] | undefined): (target: any, propertyKey: any, descriptor: any) => void;
error TS2370: A rest parameter must be of an array type.
...cookies (rest parameter) can not be undefined.
Fixed with https://github.com/nestjsplus/cookies/pull/1
...cookies (rest parameter) can not be undefined.