Skip to content

Commit

Permalink
chore(typecheck): fix type errors re: error TS4058: Return type of ex…
Browse files Browse the repository at this point in the history
…ported function has or is using name...
  • Loading branch information
delanni committed Sep 27, 2023
1 parent 5589eef commit 7b58719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/test/apm_api_integration/common/bettertest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface BetterTestOptions {
body?: any;
}

interface BetterTestResponse<T> {
export interface BetterTestResponse<T> {
status: number;
body: T;
}
Expand Down Expand Up @@ -72,7 +72,7 @@ export class BetterTestError extends Error {
const req = res.req as any;
super(
`Unhandled BetterTestError:
Status: "${res.status}"
Status: "${res.status}"
Path: "${req.method} ${req.path}"
Body: ${JSON.stringify(res.body)}`
);
Expand Down

0 comments on commit 7b58719

Please sign in to comment.