KK
Size: a a a
KK
AP
KK
AP
AP
AP
AP
SvelteComponentTyped<{ themeClass: string; }>
потому что это тип ИНСТАНСАKK
typeof import('../lib/themes/light.svelte')
AP
KK
AP
AP
AP
AP
const a: A = new A();
const b = new a();
{ new (): A }
KK
typeof import('../lib/themes/light.svelte')
| typeof import('../lib/themes/dark.svelte')
```AP
KK
type ThemeComponent = SvelteComponentTyped<{ themeClass: string; }>
const themes = {
light: async (): Promise<ThemeComponent> => (await import('../lib/themes/light.svelte')).default,
dark: async (): Promise<ThemeComponent> => (await import('../lib/themes/dark.svelte')).default
};
AP
KK