Refactor the ElementDescriptor
type
This commit is contained in:
parent
5ff474a7ea
commit
c94dc1cb8f
1 changed files with 1 additions and 1 deletions
2
src/js/types.d.ts
vendored
2
src/js/types.d.ts
vendored
|
@ -48,7 +48,7 @@ type TextDescriptor = string;
|
||||||
type ElementDescriptor = [
|
type ElementDescriptor = [
|
||||||
tag: string,
|
tag: string,
|
||||||
// eslint-disable-next-line @typescript-eslint/array-type
|
// eslint-disable-next-line @typescript-eslint/array-type
|
||||||
...args: (NodeDescriptor | Record<string, unknown>)[]
|
...args: (NodeDescriptor | (Partial<HTMLElement> & Record<string, any>))[]
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue