UNPKG

@fe-hl/shared

Version:

javascript常用工具库,支持typescript

5 lines (4 loc) 297 B
import { STORAGE } from './types'; export declare const storageGet: <T extends object>(key: string, type?: STORAGE) => string | T; export declare const storageSet: (key: string, value: any, type?: STORAGE) => void; export declare const storageDeleteKey: (key: string, type?: STORAGE) => void;