mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 23:50:08 +00:00
[Refactor] Standardise code style - modern JS (#636)
Uses unicorn rules to auto-refactor code. All verified.
This commit is contained in:
@@ -25,7 +25,7 @@ export class MapProxyHandler<V> implements ProxyHandler<Map<number | string, V>>
|
||||
}
|
||||
|
||||
ownKeys(target: Map<number | string, V>): ArrayLike<string | symbol> {
|
||||
return [...target.keys()].map(x => String(x))
|
||||
return [...target.keys()].map(String)
|
||||
}
|
||||
|
||||
get(target: Map<number | string, V>, p: string | symbol): any {
|
||||
|
||||
Reference in New Issue
Block a user