You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
547 B
14 lines
547 B
export declare type _cache = { |
|
setUsername: (username: string) => void; |
|
getUsername: () => string; |
|
_getKeyPrefix: () => string; |
|
_generateKey: (key?: string) => void; |
|
getItem: (key?: string) => string; |
|
setItem: (key: string, value: any) => void; |
|
removeItem: (key: string) => void; |
|
clear: () => void; |
|
keys: () => string[]; |
|
addCookie: (name: string, value: any, path?: string, expiresHours?: number) => void; |
|
getCookie: (name: string) => string; |
|
deleteCookie: (name: string, path?: string) => void; |
|
};
|
|
|