style: fix linting issues met Prettier
This commit is contained in:
parent
f7029ad25b
commit
12178e8469
9 changed files with 23 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
export interface HasStatusCode {
|
||||
status: number
|
||||
status: number;
|
||||
}
|
||||
export function hasStatusCode(err: unknown): err is HasStatusCode {
|
||||
return typeof err === 'object' && err !== null && 'status' in err && typeof (err as HasStatusCode)?.status === 'number';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue