@vue/runtime-core
Advanced tools
Comparing version 3.0.0-alpha.6 to 3.0.0-alpha.7
@@ -91,4 +91,2 @@ import { ComputedGetter } from '@vue/reactivity'; | ||
export declare type CleanupRegistrator = (invalidate: () => void) => void; | ||
export declare function cloneVNode<T, U>(vnode: VNode<T, U>, extraProps?: Data & VNodeProps): VNode<T, U>; | ||
@@ -204,2 +202,3 @@ | ||
C extends ComputedOptions = {}, M extends MethodOptions = {}, PublicProps = P> = { | ||
$: ComponentInternalInstance; | ||
$data: D; | ||
@@ -309,3 +308,2 @@ $props: PublicProps; | ||
export declare interface DirectiveBinding { | ||
instance: ComponentPublicInstance | null; | ||
value: any; | ||
@@ -434,4 +432,6 @@ oldValue: any; | ||
declare type InternalSlots = { | ||
[name: string]: Slot; | ||
[name: string]: Slot | undefined; | ||
}; | ||
declare type InvalidateCbRegistrator = (cb: () => void) => void; | ||
export { isReactive } | ||
@@ -697,3 +697,3 @@ export { isReadonly } | ||
export declare function renderSlot(slots: Record<string, Slot>, name: string, props?: Data, fallback?: VNodeArrayChildren): VNode; | ||
export declare function renderSlot(slots: Slots, name: string, props?: Data, fallback?: VNodeArrayChildren): VNode; | ||
@@ -901,4 +901,2 @@ declare type RequiredKeys<T, MakeDefaultRequired> = { | ||
export declare function watch(effect: WatchEffect, options?: BaseWatchOptions): StopHandle; | ||
export declare function watch<T, Immediate extends Readonly<boolean> = false>(source: WatchSource<T>, cb: WatchCallback<T, Immediate extends true ? (T | undefined) : T>, options?: WatchOptions<Immediate>): StopHandle; | ||
@@ -908,5 +906,5 @@ | ||
export declare type WatchCallback<V = any, OV = any> = (value: V, oldValue: OV, onCleanup: CleanupRegistrator) => any; | ||
export declare type WatchCallback<V = any, OV = any> = (value: V, oldValue: OV, onInvalidate: InvalidateCbRegistrator) => any; | ||
declare type WatchEffect = (onCleanup: CleanupRegistrator) => void; | ||
declare type WatchEffect = (onInvalidate: InvalidateCbRegistrator) => void; | ||
@@ -913,0 +911,0 @@ export declare function watchEffect(effect: WatchEffect, options?: BaseWatchOptions): StopHandle; |
{ | ||
"name": "@vue/runtime-core", | ||
"version": "3.0.0-alpha.6", | ||
"version": "3.0.0-alpha.7", | ||
"description": "@vue/runtime-core", | ||
@@ -34,4 +34,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/reactivity": "3.0.0-alpha.6" | ||
"@vue/reactivity": "3.0.0-alpha.7" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
107
553466
13896
+ Added@vue/reactivity@3.0.0-alpha.7(transitive)
- Removed@vue/reactivity@3.0.0-alpha.6(transitive)