Skip to content

Commit d9772db

Browse files
committed
chore: update
1 parent 016596c commit d9772db

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

packages/runtime-vapor/src/components/Teleport.ts

-11
Original file line numberDiff line numberDiff line change
@@ -214,17 +214,6 @@ export class TeleportFragment extends VaporFragment {
214214
}
215215
}
216216

217-
export const VaporTeleport = VaporTeleportImpl as unknown as {
218-
__vapor: true
219-
__isTeleport: true
220-
new (): {
221-
$props: TeleportProps
222-
$slots: {
223-
default(): Block
224-
}
225-
}
226-
}
227-
228217
export function isVaporTeleport(
229218
value: unknown,
230219
): value is typeof VaporTeleportImpl {

packages/runtime-vapor/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export { createVaporApp, createVaporSSRApp } from './apiCreateApp'
33
export { defineVaporComponent } from './apiDefineComponent'
44
export { vaporInteropPlugin } from './vdomInterop'
55
export type { VaporDirective } from './directives/custom'
6-
export { VaporTeleport } from './components/Teleport'
6+
export { VaporTeleportImpl as VaporTeleport } from './components/Teleport'
77

88
// compiler-use only
99
export { insert, prepend, remove } from './block'

0 commit comments

Comments
 (0)