Skip to content

Commit

Permalink
fix(types): missing transportAgent on client options (#1142)
Browse files Browse the repository at this point in the history
* fix(types): missing transportAgent on client options

* chore: resolve eslint and prettier issues

---------

Co-authored-by: Prakash Senthil Vel <23444145+prakashsvmx@users.noreply.github.com>
  • Loading branch information
aldy505 and prakashsvmx authored May 17, 2023
1 parent 6298bde commit ff0e3cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/minio.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// imported from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/93cfb0ec069731dcdfc31464788613f7cddb8192/types/minio/index.d.ts

import { EventEmitter } from 'node:events'
import type { RequestOptions } from 'node:https'
import type { Agent as HttpAgent } from 'node:http'
import type { Agent as HttpsAgent, RequestOptions } from 'node:https'
import type { Readable as ReadableStream } from 'node:stream'

import type {
Expand Down Expand Up @@ -78,6 +79,7 @@ export interface ClientOptions {
sessionToken?: string | undefined
partSize?: number | undefined
pathStyle?: boolean | undefined
transportAgent?: HttpAgent | HttpsAgent
}

export interface BucketItemFromList {
Expand Down

0 comments on commit ff0e3cc

Please sign in to comment.