This commit is contained in:
parent
602d8b4d6f
commit
c40492c0e3
1 changed files with 2 additions and 1 deletions
3
packages/game/src/js/types.d.ts
vendored
3
packages/game/src/js/types.d.ts
vendored
|
@ -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>)[]
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue