Skip to content

Commit

Permalink
Fix: Type error on Svelte 4 (#99)
Browse files Browse the repository at this point in the history
* Fix: Type errors

* Chore: Whitespace change
  • Loading branch information
chakflying authored Feb 5, 2024
1 parent 40f7b59 commit 6d6fc6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/svelte-grid/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T extends GridOptions> extends SvelteComponentDev {
export default abstract class Grid<T extends GridOptions> extends SvelteComponent {
$$prop_def: T;
getInstance(): VanillaGrid;
}
Expand Down

0 comments on commit 6d6fc6e

Please sign in to comment.