Skip to content

Commit 8a80de3

Browse files
Add typing target for getErrorString
1 parent fd8e490 commit 8a80de3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/common/exceptions/http.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class HttpException extends Error {
3131
return this.status;
3232
}
3333

34-
private getErrorString(target) {
34+
private getErrorString(target: string | object) {
3535
if (typeof target === 'string') {
3636
return target;
3737
}

0 commit comments

Comments
 (0)