@@ -2305,20 +2305,23 @@ declare module 'svelte/types/compiler/interfaces' {
23052305 } ;
23062306
23072307 export { } ;
2308- } declare module '*.svelte' {
2309- // use prettier-ignore for a while because of https://github.com/sveltejs/language-tools/commit/026111228b5814a9109cc4d779d37fb02955fb8b
2310- // prettier-ignore
2311- import { SvelteComponent , Component , type ComponentConstructorOptions } from 'svelte'
2312-
2308+ } declare module 'svelte/transitionary' {
2309+ import { SvelteComponent , Component , type ComponentConstructorOptions } from 'svelte' ;
23132310 // Support using the component as both a class and function during the transition period
23142311 // prettier-ignore
2315- export interface ComponentType {
2316- (
2317- ...args : Parameters < Component < Record < string , any > > >
2318- ) : ReturnType < Component < Record < string , any > , Record < string , any > > >
2319- new ( o : ComponentConstructorOptions ) : SvelteComponent
2320- }
2321- const Comp : ComponentType ;
2312+ export interface TransitionaryComponentType {
2313+ (
2314+ ...args : Parameters < Component < Record < string , any > > >
2315+ ) : ReturnType < Component < Record < string , any > , Record < string , any > > >
2316+ new ( o : ComponentConstructorOptions ) : SvelteComponent
2317+ }
2318+ }
2319+ declare module '*.svelte' {
2320+ // use prettier-ignore for a while because of https://github.com/sveltejs/language-tools/commit/026111228b5814a9109cc4d779d37fb02955fb8b
2321+ // prettier-ignore
2322+ import { SvelteComponent } from 'svelte'
2323+ import { TransitionaryComponentType } from 'svelte/transitionary' ;
2324+ const Comp : TransitionaryComponentType ;
23222325 type Comp = SvelteComponent ;
23232326 export default Comp ;
23242327}
0 commit comments