mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(tag): define JSDoc restProps type
This commit is contained in:
parent
1e80e42573
commit
26ce330e1d
4 changed files with 16 additions and 22 deletions
4
types/Tag/Tag.d.ts
vendored
4
types/Tag/Tag.d.ts
vendored
|
@ -1,6 +1,8 @@
|
|||
/// <reference types="svelte" />
|
||||
|
||||
export interface TagProps {
|
||||
export interface TagProps
|
||||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]>,
|
||||
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["span"]> {
|
||||
/**
|
||||
* Specify the type of tag
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue