🏷️ (cookies helper) add elysia set type

This commit is contained in:
rafiarrafif
2025-06-24 16:57:02 +07:00
parent 32b5205d16
commit b0cca586d1

View File

@ -1,7 +1,8 @@
import { serialize } from "cookie"; import { serialize } from "cookie";
import { Context } from "elysia";
export const setCookie = async ( export const setCookie = async (
set: any, set: Context["set"],
name: string, name: string,
payload: string, payload: string,
options?: Partial<{ options?: Partial<{