🏷️ (cookies helper) add elysia set type
This commit is contained in:
@ -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<{
|
||||||
|
|||||||
Reference in New Issue
Block a user