From fb8975272c0e9ff378b3fa7c8c576a4f3016e4a4 Mon Sep 17 00:00:00 2001 From: Harvey Zack Date: Fri, 22 Aug 2025 10:00:28 +0800 Subject: [PATCH] feat: add support for custom properties in Selector interface --- packages/artplayer/types/component.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/artplayer/types/component.d.ts b/packages/artplayer/types/component.d.ts index e4a82c1df..9b64db4ef 100644 --- a/packages/artplayer/types/component.d.ts +++ b/packages/artplayer/types/component.d.ts @@ -10,6 +10,11 @@ export interface Selector { * Html string of selector */ html: string | HTMLElement + + /** + * Allow custom properties + */ + [key: string]: any } export interface Component {