Skip to content

Commit c259450

Browse files
authored
Merge pull request #2139 from kubernetes-client/export-api-constructor
export `ApiConstructor`-type
2 parents f90d996 + 8532a88 commit c259450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ export class KubeConfig implements SecurityAuthentication {
595595
}
596596
}
597597

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

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

0 commit comments

Comments
 (0)