Skip to content

Commit 7eda375

Browse files
authored
chore(types): export ComponentMountingOptions (#2009)
1 parent 3b8fe49 commit 7eda375

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ export {
2525
MountingOptions,
2626
createWrapperError
2727
}
28+
29+
export type { ComponentMountingOptions } from './mount'

src/mount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { createInstance } from './createInstance'
2626
// NOTE this should come from `vue`
2727
type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps
2828

29-
type ComponentMountingOptions<T> = T extends DefineComponent<
29+
export type ComponentMountingOptions<T> = T extends DefineComponent<
3030
infer PropsOrPropOptions,
3131
any,
3232
infer D,

0 commit comments

Comments
 (0)