Skip to content

Commit 9be3e12

Browse files
committed
fix: remove ESLint warnings
1 parent cbb905c commit 9be3e12

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/deferred-promise.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ type DeferredPromiseOptions<T> = {
44
};
55

66
/** Creates a promise and exposes its resolve and reject methods, with an optional timeout. */
7-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
87
export class DeferredPromise<T> extends Promise<T> {
98
resolve!: (value: T) => void;
109
reject!: (reason: unknown) => void;

tests/integration/tools/mongodb/mongodbHelpers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ export function setupMongoDBIntegrationTest(): MongoDBIntegrationTest {
7373
let dbsDir = path.join(tmpDir, "mongodb-runner", "dbs");
7474
for (let i = 0; i < 10; i++) {
7575
try {
76-
// TODO: Fix this type once mongodb-runner is updated.
77-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
7876
mongoCluster = await MongoCluster.start({
7977
tmpDir: dbsDir,
8078
logDir: path.join(tmpDir, "mongodb-runner", "logs"),

0 commit comments

Comments
 (0)