Skip to content

Commit

Permalink
Update gen type command
Browse files Browse the repository at this point in the history
Issue: VLTCLT-54
  • Loading branch information
williamlardier committed Jan 20, 2025
1 parent 25d3f34 commit 47fed8a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/IAMClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ declare class VaultClient {
setCustomEndpointForSignature(host: any, path: any): void;
_host: any;
__path: any;
enableIAMOnAdminRoutes(): this;
enableIAMOnAdminRoutes(): VaultClient;
/**
* Set the configuration for the werelogs logger
* @param {object} config - A configuration object for werelogs
Expand Down
2 changes: 1 addition & 1 deletion lib/IAMClient.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/constants.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const httpClientFreeSocketTimeout: 55000;
export namespace InternalError {
let code: number;
let description: string;
let InternalError: boolean;
const code: number;
const description: string;
const InternalError: boolean;
}
//# sourceMappingURL=constants.d.ts.map
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"lint_yml": "yamllint $(git ls-files '*.yml')",
"lint_md": "mdlint $(git ls-files '*.md')",
"test": "mocha --exit tests/unit",
"gen-types": "rm -f lib/IAMClient.d.ts && rm -f lib/constants.d.ts && tsc --declaration --emitDeclarationOnly"
"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"
}
}

0 comments on commit 47fed8a

Please sign in to comment.