Skip to content

Commit 25407b0

Browse files
committed
[CARE-3589] Drop unnecessary as URL type cast
1 parent 4da2ac7 commit 25407b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/lib.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function createUrlWithQuery(url = '', query?: object): URL {
2121
});
2222
}
2323

24-
return urlWithQuery as URL;
24+
return urlWithQuery;
2525
}
2626

2727
function isObject(value: unknown): value is Record<string, unknown> {

0 commit comments

Comments
 (0)