Skip to content

Commit 6200b73

Browse files
committed
定义类型
1 parent a44846e commit 6200b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/MysqlCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class MysqlCache<Scheme> extends MysqlNative<Scheme> {
154154

155155
async deleteCache(ids: string[], dataList: Array<CoaMysql.SafePartial<Scheme>>, trx?: CoaMysql.Transaction) {
156156
if (trx && !(trx as any).clearCacheNsps) {
157-
(trx as any).clearCacheNsps = [] as any
157+
(trx as any).clearCacheNsps = [] as CoaRedis.CacheDelete[]
158158
}
159159
if (trx && (trx as any).clearCacheNsps) {
160160
(trx as any).clearCacheNsps.push([this.getCacheNsp('id'), ids]);

0 commit comments

Comments
 (0)