update
This commit is contained in:
1 parent
d3fdba1139
commit
70066f3086
5 files changed
+82
-78
No files matched your search
@@ -74,3 +74,7 @@ export function capitalize(s: string): string {
|
||||
if (!s) return s
|
||||
return s[0].toLocaleUpperCase() + s.substr(1)
|
||||
}
|
||||
|
||||
export function jsonClone<T>(o: T): T {
|
||||
return JSON.parse(JSON.stringify(o))
|
||||
}
|
||||
Reference in new issue
Block a user