Skip to content

Commit d7f0608

Browse files
fix: cookie enum type usage like string
1 parent 88e6777 commit d7f0608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/core/i-microservice-response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ enum CookiesAction {
1111
*/
1212
interface IMicroserviceResponsePayload {
1313
cookies?: {
14-
action: CookiesAction;
14+
action: keyof typeof CookiesAction;
1515
name: string;
1616
value?: string;
1717
options?: CookieOptions;

0 commit comments

Comments
 (0)