@madup-inc/utils
Version:
Common utils of LEVER
12 lines (11 loc) • 331 B
TypeScript
interface IOptions {
domain?: string;
path?: string;
'max-age'?: number;
expires?: Date;
secure?: boolean;
samesite?: 'strict' | 'lax' | boolean;
httpOnly?: boolean;
}
declare const _default: (name: string, value: string, options?: IOptions, encode?: any) => string;
export default _default;