Skip to content

Commit

Permalink
fix: fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
vfiee committed Jul 12, 2022
1 parent e2776ab commit ac86160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/storage/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @Author: vyron
* @Date: 2022-05-19 17:57:31
* @LastEditTime: 2022-07-12 11:17:28
* @LastEditTime: 2022-07-12 18:02:59
* @LastEditors: vyron
* @Description: 融合汇聚工具类导出
* @FilePath: /utils/packages/storage/src/index.ts
Expand Down Expand Up @@ -94,7 +94,7 @@ class StorageCore {
set(key: string, value: any, expire?: string | number | Date): boolean {
let success = false
try {
let storageData: StorageData = { origin: value }
const storageData: StorageData = { origin: value }
if (expire) {
storageData["expire"] = this.#getTimestampByExpire(expire)
}
Expand Down

0 comments on commit ac86160

Please sign in to comment.