UNPKG

@designerstrust/remix-utils

Version:

This package contains simple utility functions to use with [Remix.run](https://remix.run).

5 lines (4 loc) 293 B
import type { Cookie } from "@remix-run/server-runtime"; import { z } from "zod"; import { TypedCookie } from "./typed-cookie"; export declare function rollingCookie<Schema extends z.ZodTypeAny>(cookie: Cookie | TypedCookie<Schema>, request: Request, responseHeaders: Headers): Promise<void>;