ptool
Version:
vue项目开发通用工具类封装
18 lines (17 loc) • 434 B
TypeScript
/**
* @FileName lStorage.ts
* @Author Mad Dragon <395548460@qq.com>
* @Version V 0.0.1
* @Date 2021/4/13 11:40
* @Title 存储localStorage
* @Desc
**/
declare const _default: {
setItem: (key: string, content: any) => void;
getItem: (key: string) => string;
removeItem: (key: string) => void;
clear: () => void;
getAll: () => any[];
removeDataFromKey: (key?: string) => void;
};
export default _default;