Skip to content

Commit 47fed8a

Browse files
Update gen type command
Issue: VLTCLT-54
1 parent 25d3f34 commit 47fed8a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/IAMClient.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ declare class VaultClient {
3636
setCustomEndpointForSignature(host: any, path: any): void;
3737
_host: any;
3838
__path: any;
39-
enableIAMOnAdminRoutes(): this;
39+
enableIAMOnAdminRoutes(): VaultClient;
4040
/**
4141
* Set the configuration for the werelogs logger
4242
* @param {object} config - A configuration object for werelogs

lib/IAMClient.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

lib/constants.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const httpClientFreeSocketTimeout: 55000;
22
export namespace InternalError {
3-
let code: number;
4-
let description: string;
5-
let InternalError: boolean;
3+
const code: number;
4+
const description: string;
5+
const InternalError: boolean;
66
}
77
//# sourceMappingURL=constants.d.ts.map

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
"lint_yml": "yamllint $(git ls-files '*.yml')",
3838
"lint_md": "mdlint $(git ls-files '*.md')",
3939
"test": "mocha --exit tests/unit",
40-
"gen-types": "rm -f lib/IAMClient.d.ts && rm -f lib/constants.d.ts && tsc --declaration --emitDeclarationOnly"
40+
"gen-types": "rm -f lib/IAMClient.d.ts.map && rm -f lib/IAMClient.d.ts.map && rm -f lib/IAMClient.d.ts && rm -f lib/constants.d.ts && tsc --declaration --emitDeclarationOnly"
4141
}
4242
}

0 commit comments

Comments
 (0)