From 4821112aefa0207819697513255eb7d619c3a7d1 Mon Sep 17 00:00:00 2001 From: EdamAmex <121654029+EdamAme-x@users.noreply.github.com> Date: Sun, 29 Sep 2024 17:22:00 +0900 Subject: [PATCH] refactor: use PropertyKey instaed of key list (#728) --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index 55e13776..0bb62373 100644 --- a/src/util.ts +++ b/src/util.ts @@ -6,7 +6,7 @@ import type { EditableConfig } from './interface'; * We trade Map as deps which may change with same value but different ref object. * We should make it as hash for deps * */ -export function stringify(obj: Record | Map) { +export function stringify(obj: Record | Map) { let tgt: Record; if (obj instanceof Map) {