Fix broken type
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Manuel Thalmann 2022-12-15 00:43:35 +01:00
parent 602d8b4d6f
commit c40492c0e3
No known key found for this signature in database
GPG key ID: 5FD9AD3CCDDBD27B

View file

@ -47,7 +47,8 @@ type TextDescriptor = string;
*/ */
type ElementDescriptor = [ type ElementDescriptor = [
tag: string, tag: string,
...args: NodeDescriptor[] // eslint-disable-next-line @typescript-eslint/array-type
...args: (NodeDescriptor | Record<string, unknown>)[]
]; ];
/** /**