diff --git a/packages/driver/src/factories/createDriverFactory.ts b/packages/driver/src/factories/createDriverFactory.ts index 432b4312..f57d0419 100644 --- a/packages/driver/src/factories/createDriverFactory.ts +++ b/packages/driver/src/factories/createDriverFactory.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/consistent-type-definitions */ + import { Logger } from '../Logger'; import { type Field } from '@slonik/types'; import { generateUid } from '@slonik/utilities'; @@ -10,7 +12,7 @@ import { type StrictEventEmitter } from 'strict-event-emitter-types'; type StreamDataEvent = { data: T; fields: readonly Field[] }; -// eslint-disable-next-line @typescript-eslint/consistent-type-definitions +// @ts-expect-error - TODO figure out how to fix this export interface DriverStream extends Readable { [Symbol.asyncIterator]: () => AsyncIterableIterator>; // eslint-disable-next-line @typescript-eslint/method-signature-style