@hybridly/vue 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -183,7 +183,7 @@ declare const RouterLink: vue.DefineComponent<{
183
183
  /** Accesses all current properties. */
184
184
  declare function useProperties<T extends object, Global extends GlobalHybridlyProperties>(): vue.DeepReadonly<vue.UnwrapNestedRefs<T & Global>>;
185
185
  /** Accesses a property with a dot notation. */
186
- declare function useProperty<T extends SearchableObject = GlobalHybridlyProperties, P extends Path<T> & string = Path<T> & string>(path: P): ComputedRef<PathValue<T, P>>;
186
+ declare function useProperty<Override = never, T extends SearchableObject = GlobalHybridlyProperties, P extends Path<T> & string = Path<T> & string, ReturnType = [Override] extends [never] ? PathValue<T, P> : Override>(path: [Override] extends [never] ? P : string): ComputedRef<ReturnType>;
187
187
 
188
188
  type UrlResolvable = string | URL | Location;
189
189
  type UrlTransformable = BaseUrlTransformable | ((string: URL) => BaseUrlTransformable);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybridly/vue",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Vue adapter for Hybridly",
5
5
  "keywords": [
6
6
  "hybridly",
@@ -44,13 +44,13 @@
44
44
  "lodash.isequal": "^4.5.0",
45
45
  "nprogress": "^0.2.0",
46
46
  "qs": "^6.11.1",
47
- "@hybridly/config": "0.1.0",
48
- "@hybridly/core": "0.1.0",
49
- "@hybridly/progress-plugin": "0.1.0",
50
- "@hybridly/utils": "0.1.0"
47
+ "@hybridly/config": "0.2.0",
48
+ "@hybridly/core": "0.2.0",
49
+ "@hybridly/progress-plugin": "0.2.0",
50
+ "@hybridly/utils": "0.2.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@types/lodash": "^4.14.191",
53
+ "@types/lodash": "^4.14.192",
54
54
  "@types/lodash.clonedeep": "^4.5.7",
55
55
  "@types/lodash.isequal": "^4.5.6",
56
56
  "@types/nprogress": "^0.2.0",