Skip to content

Commit

Permalink
feat: export ApiConstructor-type
Browse files Browse the repository at this point in the history
  • Loading branch information
mstruebing committed Jan 6, 2025
1 parent f90d996 commit 8532a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ export class KubeConfig implements SecurityAuthentication {
}
}

type ApiConstructor<T extends ApiType> = new (config: Configuration) => T;
export type ApiConstructor<T extends ApiType> = new (config: Configuration) => T;

export function makeAbsolutePath(root: string, file: string): string {
if (!root || path.isAbsolute(file)) {
Expand Down

0 comments on commit 8532a88

Please sign in to comment.