Skip to content

Commit

Permalink
update deprecated type
Browse files Browse the repository at this point in the history
  • Loading branch information
legnaleurc committed Aug 26, 2023
1 parent cc10a08 commit 90bc666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewer/src/lib/types/traits.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import type { SvelteComponentTyped } from "svelte";
import type { SvelteComponent } from "svelte";

export type SvelteComponentConstructor<
Props extends Record<string, unknown> = Record<string, unknown>,
Events extends Record<string, unknown> = Record<string, unknown>,
Slots extends Record<string, unknown> = Record<string, unknown>,
> = new (...args: unknown[]) => SvelteComponentTyped<Props, Events, Slots>;
> = new (...args: unknown[]) => SvelteComponent<Props, Events, Slots>;

export type SvelteComponentModule<
Props extends Record<string, unknown> = Record<string, unknown>,
Expand Down

0 comments on commit 90bc666

Please sign in to comment.