From 6d6fc6e9b87483e24037d8c7012b96c89b2dfba0 Mon Sep 17 00:00:00 2001 From: Nelson Chan <3271800+chakflying@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:37:40 +0800 Subject: [PATCH] Fix: Type error on Svelte 4 (#99) * Fix: Type errors * Chore: Whitespace change --- packages/svelte-grid/src/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/svelte-grid/src/index.d.ts b/packages/svelte-grid/src/index.d.ts index b211f42..d63acb3 100644 --- a/packages/svelte-grid/src/index.d.ts +++ b/packages/svelte-grid/src/index.d.ts @@ -2,10 +2,10 @@ import VanillaGrid, { FrameGridOptions, GridMethods, GridOptions, JustifiedGridOptions, MasonryGridOptions, PackingGridOptions, } from "@egjs/grid"; -import { SvelteComponentDev } from "svelte/internal"; +import type { SvelteComponent } from "svelte"; -export default abstract class Grid extends SvelteComponentDev { +export default abstract class Grid extends SvelteComponent { $$prop_def: T; getInstance(): VanillaGrid; }