From 854ab7396877d7b72049ac85f623e2202e5b8a63 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Wed, 19 Apr 2023 22:17:21 +0300 Subject: [PATCH] fix(svelte): allow any data- attribute --- components/svelte/package.json | 2 +- components/svelte/src/svelte.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/svelte/package.json b/components/svelte/package.json index d264d73..bea4619 100644 --- a/components/svelte/package.json +++ b/components/svelte/package.json @@ -2,7 +2,7 @@ "name": "@iconify/svelte", "description": "Iconify icon component for Svelte.", "author": "Vjacheslav Trushkin", - "version": "3.1.2", + "version": "3.1.3", "license": "MIT", "bugs": "https://github.com/iconify/iconify/issues", "homepage": "https://github.com/iconify/iconify", diff --git a/components/svelte/src/svelte.d.ts b/components/svelte/src/svelte.d.ts index 718fc57..c8346f9 100644 --- a/components/svelte/src/svelte.d.ts +++ b/components/svelte/src/svelte.d.ts @@ -5,5 +5,5 @@ import { HTMLAttributes } from 'svelte/elements'; * Svelte component */ export default class Icon extends SvelteComponentTyped< - IconProps & HTMLAttributes + IconProps & HTMLAttributes & Record<`data-${string}`, string> > {}