@vue/reactivity
Advanced tools
Comparing version 3.0.0-beta.5 to 3.0.0-beta.6
declare type BaseTypes = string | number | boolean | Node | Window; | ||
declare type BaseTypes = string | number | boolean; | ||
@@ -96,2 +96,22 @@ declare type CollectionTypes = IterableCollections | WeakCollections; | ||
/** | ||
* This is a special exported interface for other packages to declare | ||
* additional types that should bail out for ref unwrapping. For example | ||
* \@vue/runtime-dom can declare it like so in its d.ts: | ||
* | ||
* ``` ts | ||
* declare module '@vue/reactivity' { | ||
* export interface RefUnwrapBailTypes { | ||
* runtimeDOMBailTypes: Node | Window | ||
* } | ||
* } | ||
* ``` | ||
* | ||
* Note that api-extractor somehow refuses to include `decalre module` | ||
* augmentations in its generated d.ts, so we have to manually append them | ||
* to the final generated d.ts in our build process. | ||
*/ | ||
export declare interface RefUnwrapBailTypes { | ||
} | ||
export declare function resetTracking(): void; | ||
@@ -205,3 +225,3 @@ | ||
declare type UnwrapRefSimple<T> = T extends Function | CollectionTypes | BaseTypes | Ref ? T : T extends Array<any> ? T : T extends object ? UnwrappedObject<T> : T; | ||
declare type UnwrapRefSimple<T> = T extends Function | CollectionTypes | BaseTypes | Ref | RefUnwrapBailTypes[keyof RefUnwrapBailTypes] ? T : T extends Array<any> ? T : T extends object ? UnwrappedObject<T> : T; | ||
@@ -208,0 +228,0 @@ declare type WeakCollections = WeakMap<any, any> | WeakSet<any>; |
{ | ||
"name": "@vue/reactivity", | ||
"version": "3.0.0-beta.5", | ||
"version": "3.0.0-beta.6", | ||
"description": "@vue/reactivity", | ||
@@ -38,4 +38,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.0.0-beta.5" | ||
"@vue/shared": "3.0.0-beta.6" | ||
} | ||
} |
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
150255
3985
+ Added@vue/shared@3.0.0-beta.6(transitive)
- Removed@vue/shared@3.0.0-beta.5(transitive)
Updated@vue/shared@3.0.0-beta.6