From b301a9220918254aa9c79ad91012780ff8c55862 Mon Sep 17 00:00:00 2001 From: Ame_x <121654029+EdamAme-x@users.noreply.github.com> Date: Wed, 10 Jul 2024 18:05:05 +0900 Subject: [PATCH] refactor: use PropertyKey instaed of key list (#1120) --- src/vnode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnode.ts b/src/vnode.ts index 3bb7ec3..866966e 100644 --- a/src/vnode.ts +++ b/src/vnode.ts @@ -7,7 +7,7 @@ import { Classes } from "./modules/class"; import { Props } from "./modules/props"; import { Dataset } from "./modules/dataset"; -export type Key = string | number | symbol; +export type Key = PropertyKey; export interface VNode { sel: string | undefined;