@vue/runtime-core
Advanced tools
Comparing version 3.0.0-rc.1 to 3.0.0-rc.2
@@ -36,3 +36,6 @@ import { camelize } from '@vue/shared'; | ||
declare interface AllowedComponentProps { | ||
/** | ||
* Default allowed non-declared props on ocmponent in TSX | ||
*/ | ||
export declare interface AllowedComponentProps { | ||
class?: unknown; | ||
@@ -85,5 +88,3 @@ style?: unknown; | ||
version: string; | ||
types: { | ||
[key: string]: string | Symbol; | ||
}; | ||
types: Record<string, string | Symbol>; | ||
} | ||
@@ -204,2 +205,5 @@ | ||
/** | ||
* For extending allowed non-declared props on components in TSX | ||
*/ | ||
export declare interface ComponentCustomProps { | ||
@@ -383,5 +387,3 @@ } | ||
*/ | ||
export declare function createBlock(type: VNodeTypes | ClassComponent, props?: { | ||
[key: string]: any; | ||
} | null, children?: any, patchFlag?: number, dynamicProps?: string[]): VNode; | ||
export declare function createBlock(type: VNodeTypes | ClassComponent, props?: Record<string, any> | null, children?: any, patchFlag?: number, dynamicProps?: string[]): VNode; | ||
@@ -439,5 +441,3 @@ /** | ||
declare type Data = { | ||
[key: string]: unknown; | ||
}; | ||
declare type Data = Record<string, unknown>; | ||
export { DebuggerEvent } | ||
@@ -604,5 +604,3 @@ | ||
type: ObjectConstructor; | ||
} ? { | ||
[key: string]: any; | ||
} : T extends BooleanConstructor | { | ||
} ? Record<string, any> : T extends BooleanConstructor | { | ||
type: BooleanConstructor; | ||
@@ -702,3 +700,3 @@ } ? boolean : T extends Prop<infer V> ? V : T; | ||
export declare function mergeProps(...args: (Data & VNodeProps)[]): Data & VNodeProps; | ||
export declare function mergeProps(...args: (Data & VNodeProps)[]): Record<string, unknown> & VNodeProps; | ||
@@ -705,0 +703,0 @@ declare interface MethodOptions { |
{ | ||
"name": "@vue/runtime-core", | ||
"version": "3.0.0-rc.1", | ||
"version": "3.0.0-rc.2", | ||
"description": "@vue/runtime-core", | ||
@@ -34,5 +34,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.0.0-rc.1", | ||
"@vue/reactivity": "3.0.0-rc.1" | ||
"@vue/shared": "3.0.0-rc.2", | ||
"@vue/reactivity": "3.0.0-rc.2" | ||
} | ||
} |
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
734394
18335
+ Added@vue/reactivity@3.0.0-rc.2(transitive)
+ Added@vue/shared@3.0.0-rc.2(transitive)
- Removed@vue/reactivity@3.0.0-rc.1(transitive)
- Removed@vue/shared@3.0.0-rc.1(transitive)
Updated@vue/reactivity@3.0.0-rc.2
Updated@vue/shared@3.0.0-rc.2