Skip to content

Commit 1c89a60

Browse files
committed
refactor: move jsx types into src
1 parent 5566fc0 commit 1c89a60

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

packages/runtime-dom/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import {
2424
NOOP
2525
} from '@vue/shared'
2626

27+
export * from './jsx'
28+
2729
declare module '@vue/reactivity' {
2830
export interface RefUnwrapBailTypes {
2931
runtimeDOMBailTypes: Node | Window
File renamed without changes.

packages/vue/jsx-runtime/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type {
22
VNode,
33
VNodeRef,
44
IntrinsicElementAttributes
5-
} from '@vue/runtime-dom/dist/runtime-dom'
5+
} from '@vue/runtime-dom'
66

77
export type ReservedProps = {
88
key?: string | number | symbol

packages/vue/jsx.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type {
44
VNode,
55
VNodeRef,
66
IntrinsicElementAttributes
7-
} from '@vue/runtime-dom/dist/runtime-dom'
7+
} from '@vue/runtime-dom'
88

99
export type ReservedProps = {
1010
key?: string | number | symbol

packages/vue/types/jsx-register.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
// imports the global JSX namespace registration for compat.
33
// TODO: remove in 3.4
44
import '../jsx'
5-
6-
export * from '../jsx-runtime/dom'

0 commit comments

Comments
 (0)