@vue/runtime-core
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -311,3 +311,3 @@ import { camelize } from '@vue/shared'; | ||
export declare interface ComponentOptionsBase<Props, RawBindings, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin, E extends EmitsOptions, EE extends string = string, Defaults = {}> extends LegacyOptions<Props, D, C, M, Mixin, Extends>, ComponentInternalOptions, ComponentCustomOptions { | ||
setup?: (this: void, props: Props, ctx: SetupContext<E>) => Promise<RawBindings> | RawBindings | RenderFunction | void; | ||
setup?: (this: void, props: Props & UnionToIntersection<ExtractOptionProp<Mixin>> & UnionToIntersection<ExtractOptionProp<Extends>>, ctx: SetupContext<E>) => Promise<RawBindings> | RawBindings | RenderFunction | void; | ||
name?: string; | ||
@@ -589,2 +589,4 @@ template?: string | object; | ||
declare type ExtractOptionProp<T> = T extends ComponentOptionsBase<infer P, any, any, any, any, any, any, any> ? unknown extends P ? {} : P : {}; | ||
export declare type ExtractPropTypes<O> = O extends object ? { | ||
@@ -721,3 +723,3 @@ [K in RequiredKeys<O>]: InferPropType<O[K]>; | ||
[key: string]: any; | ||
data?: (this: CreateComponentPublicInstance<Props>, vm: CreateComponentPublicInstance<Props>) => D; | ||
data?: (this: CreateComponentPublicInstance<Props, {}, {}, {}, MethodOptions, Mixin, Extends>, vm: CreateComponentPublicInstance<Props, {}, {}, {}, MethodOptions, Mixin, Extends>) => D; | ||
computed?: C; | ||
@@ -797,2 +799,4 @@ methods?: M; | ||
declare type MultiWatchSources = (WatchSource<unknown> | object)[]; | ||
declare type NextFn = (vnode: VNode) => RendererNode | null; | ||
@@ -1342,4 +1346,6 @@ | ||
export declare function watch<T extends Readonly<Array<WatchSource<unknown> | object>>, Immediate extends Readonly<boolean> = false>(sources: T, cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle; | ||
export declare function watch<T extends MultiWatchSources, Immediate extends Readonly<boolean> = false>(sources: [...T], cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle; | ||
export declare function watch<T extends Readonly<MultiWatchSources>, Immediate extends Readonly<boolean> = false>(source: T, cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle; | ||
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>): WatchStopHandle; | ||
@@ -1346,0 +1352,0 @@ |
{ | ||
"name": "@vue/runtime-core", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "@vue/runtime-core", | ||
@@ -35,5 +35,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.0.4", | ||
"@vue/reactivity": "3.0.4" | ||
"@vue/shared": "3.0.5", | ||
"@vue/reactivity": "3.0.5" | ||
} | ||
} |
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
834861
20668
+ Added@vue/reactivity@3.0.5(transitive)
+ Added@vue/shared@3.0.5(transitive)
- Removed@vue/reactivity@3.0.4(transitive)
- Removed@vue/shared@3.0.4(transitive)
Updated@vue/reactivity@3.0.5
Updated@vue/shared@3.0.5