@vue/runtime-core
Advanced tools
Comparing version 3.0.0-alpha.5 to 3.0.0-alpha.6
@@ -16,2 +16,3 @@ import { ComputedGetter } from '@vue/reactivity'; | ||
import { shallowReactive } from '@vue/reactivity'; | ||
import { shallowRef } from '@vue/reactivity'; | ||
import { toRaw } from '@vue/reactivity'; | ||
@@ -21,2 +22,3 @@ import { toRefs } from '@vue/reactivity'; | ||
import { TriggerOpTypes } from '@vue/reactivity'; | ||
import { unref } from '@vue/reactivity'; | ||
import { UnwrapRef } from '@vue/reactivity'; | ||
@@ -199,3 +201,6 @@ import { WritableComputedOptions } from '@vue/reactivity'; | ||
export declare type ComponentPublicInstance<P = {}, B = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, PublicProps = P> = { | ||
export declare type ComponentPublicInstance<P = {}, // props type extracted from props option | ||
B = {}, // raw bindings returned from setup() | ||
D = {}, // return from data() | ||
C extends ComputedOptions = {}, M extends MethodOptions = {}, PublicProps = P> = { | ||
$data: D; | ||
@@ -214,3 +219,3 @@ $props: PublicProps; | ||
$watch: typeof instanceWatch; | ||
} & P & UnwrapRef<B> & D & ExtractComputedReturns<C> & M; | ||
} & P & UnwrapSetupBindings<B> & D & ExtractComputedReturns<C> & M; | ||
@@ -740,2 +745,3 @@ declare type ComponentWatchOptionItem = WatchOptionItem | WatchOptionItem[]; | ||
export { shallowReactive } | ||
export { shallowRef } | ||
@@ -831,4 +837,11 @@ export declare type Slot = (...args: any[]) => VNode[]; | ||
declare type UnmountFn<HostNode, HostElement> = (vnode: VNode<HostNode, HostElement>, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary<HostNode, HostElement> | null, doRemove?: boolean) => void; | ||
export { unref } | ||
declare type UnwrapBinding<B> = B extends ComputedRef<any> ? B extends ComputedRef<infer V> ? V : B : B extends Ref<infer V> ? V : B; | ||
export { UnwrapRef } | ||
declare type UnwrapSetupBindings<B> = { | ||
[K in keyof B]: UnwrapBinding<B[K]>; | ||
}; | ||
export declare const useCSSModule: (name?: string) => Record<string, string>; | ||
@@ -899,2 +912,4 @@ | ||
export declare function watchEffect(effect: WatchEffect, options?: BaseWatchOptions): StopHandle; | ||
declare type WatchOptionItem = string | WatchCallback | { | ||
@@ -901,0 +916,0 @@ handler: WatchCallback; |
{ | ||
"name": "@vue/runtime-core", | ||
"version": "3.0.0-alpha.5", | ||
"version": "3.0.0-alpha.6", | ||
"description": "@vue/runtime-core", | ||
@@ -34,4 +34,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/reactivity": "3.0.0-alpha.5" | ||
"@vue/reactivity": "3.0.0-alpha.6" | ||
} | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
553971
13916
108
+ Added@vue/reactivity@3.0.0-alpha.6(transitive)
- Removed@vue/reactivity@3.0.0-alpha.5(transitive)