diff --git a/types/index.d.ts b/types/index.d.ts index 13b82b8b..d191bd47 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -3046,7 +3046,7 @@ declare namespace Knex { host?: string; connectionString?: string; keepAlive?: boolean; - stream?: stream.Duplex; + stream?: () => stream.Duplex | stream.Duplex | undefined; statement_timeout?: false | number; parseInputDatesAsUTC?: boolean; ssl?: boolean | ConnectionOptions;