From 90bc666e4931adcb57df2ffb602644fe5211bac8 Mon Sep 17 00:00:00 2001 From: Wei-Cheng Pan Date: Sat, 26 Aug 2023 13:57:01 +0900 Subject: [PATCH] update deprecated type --- viewer/src/lib/types/traits.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/viewer/src/lib/types/traits.ts b/viewer/src/lib/types/traits.ts index b88b67ea..7109c8cc 100644 --- a/viewer/src/lib/types/traits.ts +++ b/viewer/src/lib/types/traits.ts @@ -1,10 +1,10 @@ -import type { SvelteComponentTyped } from "svelte"; +import type { SvelteComponent } from "svelte"; export type SvelteComponentConstructor< Props extends Record = Record, Events extends Record = Record, Slots extends Record = Record, -> = new (...args: unknown[]) => SvelteComponentTyped; +> = new (...args: unknown[]) => SvelteComponent; export type SvelteComponentModule< Props extends Record = Record,