Skip to content

Commit e588799

Browse files
committed
fix: add defaultHeaders field to ApiType interface
1 parent fe9bfd1 commit e588799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ export class KubeConfig {
419419
}
420420

421421
export interface ApiType {
422-
setDefaultAuthentication(config: api.Authentication);
422+
defaultHeaders: any;
423+
setDefaultAuthentication(config: api.Authentication): void;
423424
}
424425

425426
type ApiConstructor<T extends ApiType> = new (server: string) => T;

0 commit comments

Comments
 (0)