UNPKG

quasar

Version:

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time

31 lines (25 loc) 680 B
type WebStorageGetMethodReturnType = | Date | RegExp | number | boolean | string | object; type WebStorageGetKeyMethodReturnType = | string export type WebStorageGetItemMethodType = < T extends WebStorageGetMethodReturnType = WebStorageGetMethodReturnType >( key: string ) => T | null; export type WebStorageGetIndexMethodType = < T extends WebStorageGetMethodReturnType = WebStorageGetMethodReturnType >( index: number ) => T | null; export type WebStorageGetKeyMethodType = < T extends WebStorageGetKeyMethodReturnType = WebStorageGetKeyMethodReturnType >( index: number ) => T | null; export type WebStorageGetAllKeysMethodType = () => string[];