Skip to content

Commit cc8c8ee

Browse files
committed
fix: export private component type (#14256)
1 parent ae9f53a commit cc8c8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/ambient.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare module '*.svelte' {
55

66
// Support using the component as both a class and function during the transition period
77
// prettier-ignore
8-
interface ComponentType {
8+
export interface ComponentType {
99
(
1010
...args: Parameters<Component<Record<string, any>>>
1111
): ReturnType<Component<Record<string, any>, Record<string, any>>>

0 commit comments

Comments
 (0)