fix(clickable-tile): explicitly type restProps

This commit is contained in:
metonym 2021-09-28 08:53:14 -07:00
commit 0d2a4bc1f3
4 changed files with 12 additions and 3 deletions

View file

@ -1,7 +1,9 @@
/// <reference types="svelte" />
import { SvelteComponentTyped } from "svelte";
export interface ClickableTileProps {
export interface ClickableTileProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["a"]>,
svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["p"]> {
/**
* Set to `true` to click the tile
* @default false