Skip to content

Commit 0e3b2fc

Browse files
committed
Allow unknown object to string
1 parent 3b2a0cd commit 0e3b2fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/templating/url-template.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@ export function toString(a: unknown): string {
6666
if (a === null || a === undefined) {
6767
return `${a}`;
6868
}
69+
// eslint-disable-next-line @typescript-eslint/no-base-to-string
6970
return String(a);
7071
}

0 commit comments

Comments
 (0)