@@ -2305,20 +2305,23 @@ declare module 'svelte/types/compiler/interfaces' {
2305
2305
} ;
2306
2306
2307
2307
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' ;
2313
2310
// Support using the component as both a class and function during the transition period
2314
2311
// 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 ;
2322
2325
type Comp = SvelteComponent ;
2323
2326
export default Comp ;
2324
2327
}
0 commit comments