Skip to content

Commit

Permalink
fix(typescript): add options arg to TypeOfGenericClient
Browse files Browse the repository at this point in the history
  • Loading branch information
svvac authored Mar 24, 2020
1 parent 52fb1e7 commit b97b028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ export interface MtlsEndpointAliases {
// https://stackoverflow.com/questions/39622778/what-is-new-in-typescript
// https://github.com/Microsoft/TypeScript/issues/204
export interface TypeOfGenericClient<TClient extends Client> {
new (metadata: ClientMetadata, jwks?: JSONWebKeySet): TClient;
new (metadata: ClientMetadata, jwks?: JSONWebKeySet, options?: ClientOptions): TClient;
[custom.http_options]: CustomHttpOptionsProvider;
[custom.clock_tolerance]: number;
}
Expand Down

0 comments on commit b97b028

Please sign in to comment.