mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
fix(recursive-list): explicitly type restProps
This commit is contained in:
parent
c5c4a77c93
commit
3428df49ce
3 changed files with 5 additions and 2 deletions
4
types/RecursiveList/RecursiveList.d.ts
vendored
4
types/RecursiveList/RecursiveList.d.ts
vendored
|
@ -7,7 +7,9 @@ export interface RecursiveListNode {
|
|||
html?: string;
|
||||
}
|
||||
|
||||
export interface RecursiveListProps {
|
||||
export interface RecursiveListProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["ul"]>,
|
||||
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["ol"]> {
|
||||
/**
|
||||
* Specify the children to render
|
||||
* @default []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue