mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
util: fix format bug (#499)
This commit is contained in:
1 parent
f3641eff48
commit
2cd89d7258
1 file changed
+1
-1
@@ -63,7 +63,7 @@ String.prototype.format = function formatStr(...args) {
|
|||||||
}
|
}
|
||||||
} else return this.formatFromArray(args);
|
} else return this.formatFromArray(args);
|
||||||
}
|
}
|
||||||
return result;
|
return result.toString();
|
||||||
};
|
};
|
||||||
|
|
||||||
export function isClass(obj: any, strict = false): obj is new (...args: any) => any {
|
export function isClass(obj: any, strict = false): obj is new (...args: any) => any {
|
||||||
|
|||||||
Reference in new issue
Block a user