Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit 68d0d11

Browse files
fix(deps): ts5.5
1 parent dcd5066 commit 68d0d11

File tree

4 files changed

+428
-436
lines changed

4 files changed

+428
-436
lines changed

src/adapter/inmemory/inMemory.db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export class InMemoryDB implements CommonDB {
215215
): Promise<number> {
216216
const table = this.cfg.tablesPrefix + q.table
217217
if (!this.data[table]) return 0
218-
const ids = queryInMemory(q, Object.values(this.data[table]!) as ROW[]).map(r => r.id)
218+
const ids = queryInMemory(q, Object.values(this.data[table]) as ROW[]).map(r => r.id)
219219
return await this.deleteByIds(q.table, ids)
220220
}
221221

src/adapter/inmemory/inMemoryKeyValueDB.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ export class InMemoryKeyValueDB implements CommonKeyValueDB {
4545

4646
async count(table: string): Promise<number> {
4747
this.data[table] ||= {}
48-
return Object.keys(this.data[table]!).length
48+
return Object.keys(this.data[table]).length
4949
}
5050
}

tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"extends": "@naturalcycles/dev-lib/cfg/tsconfig.json",
3-
"compilerOptions": {
4-
"outDir": "dist",
5-
},
3+
"compilerOptions": {},
64
"include": ["src"],
75
"exclude": ["**/__exclude"],
86
}

0 commit comments

Comments
 (0)