🏷️ (cookies helper) add elysia set type to clear cookies helper
This commit is contained in:
@ -1,7 +1,8 @@
|
|||||||
import { serialize } from "cookie";
|
import { serialize } from "cookie";
|
||||||
|
import { Context } from "elysia";
|
||||||
|
|
||||||
export const clearCookies = (
|
export const clearCookies = (
|
||||||
set: any,
|
set: Context["set"],
|
||||||
cookieKeys: string[],
|
cookieKeys: string[],
|
||||||
options?: Partial<{
|
options?: Partial<{
|
||||||
httpOnly: boolean;
|
httpOnly: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user