Skip to content

Commit ef1fd2f

Browse files
committed
wip
1 parent 2aa79e0 commit ef1fd2f

File tree

1 file changed

+1
-16
lines changed
  • packages/runtime-core/src

1 file changed

+1
-16
lines changed

packages/runtime-core/src/h.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import { type IfAny, isArray, isObject } from '@vue/shared'
2-
import type {
3-
Component,
4-
ConcreteComponent,
5-
FunctionalComponent,
6-
} from './component'
2+
import type { Component, FunctionalComponent } from './component'
73
import type { EmitsOptions } from './componentEmits'
84
import type {
95
ComponentObjectPropsOptions,
@@ -178,17 +174,6 @@ export function h<
178174
children?: RawChildren | RawSlots,
179175
): VNode
180176

181-
// concrete component
182-
export function h(
183-
type: ConcreteComponent | string,
184-
children?: RawChildren,
185-
): VNode
186-
export function h<P>(
187-
type: ConcreteComponent<P> | string,
188-
props?: NoInfer<(RawProps & P) | ({} extends P ? null : never)>,
189-
children?: RawChildren,
190-
): VNode
191-
192177
// catch all types
193178
export function h(type: string | Component, children?: RawChildren): VNode
194179
export function h<P>(

0 commit comments

Comments
 (0)