diff --git a/src/js/types.d.ts b/src/js/types.d.ts index bc68aaa..60ca84c 100644 --- a/src/js/types.d.ts +++ b/src/js/types.d.ts @@ -48,7 +48,7 @@ type TextDescriptor = string; type ElementDescriptor = [ tag: string, // eslint-disable-next-line @typescript-eslint/array-type - ...args: (NodeDescriptor | Record)[] + ...args: (NodeDescriptor | (Partial & Record))[] ]; /**