Skip to content

Commit

Permalink
refactor: move jsx types into src
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 29, 2023
1 parent 5566fc0 commit 1c89a60
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/runtime-dom/src/index.ts
Expand Up @@ -24,6 +24,8 @@ import {
NOOP
} from '@vue/shared'

export * from './jsx'

declare module '@vue/reactivity' {
export interface RefUnwrapBailTypes {
runtimeDOMBailTypes: Node | Window
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/vue/jsx-runtime/index.d.ts
Expand Up @@ -2,7 +2,7 @@ import type {
VNode,
VNodeRef,
IntrinsicElementAttributes
} from '@vue/runtime-dom/dist/runtime-dom'
} from '@vue/runtime-dom'

export type ReservedProps = {
key?: string | number | symbol
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/jsx.d.ts
Expand Up @@ -4,7 +4,7 @@ import type {
VNode,
VNodeRef,
IntrinsicElementAttributes
} from '@vue/runtime-dom/dist/runtime-dom'
} from '@vue/runtime-dom'

export type ReservedProps = {
key?: string | number | symbol
Expand Down
2 changes: 0 additions & 2 deletions packages/vue/types/jsx-register.d.ts
Expand Up @@ -2,5 +2,3 @@
// imports the global JSX namespace registration for compat.
// TODO: remove in 3.4
import '../jsx'

export * from '../jsx-runtime/dom'

0 comments on commit 1c89a60

Please sign in to comment.