@dat162/rete-vue-plugin
Advanced tools
+4
-3
| { | ||
| "name": "@dat162/rete-vue-plugin", | ||
| "version": "2.0.7", | ||
| "version": "2.0.8", | ||
| "description": "", | ||
| "private": false, | ||
| "scripts": { | ||
@@ -21,6 +22,6 @@ "build": "rete build -c rete.config.ts", | ||
| "type": "git", | ||
| "url": "https://github.com/retejs/vue-plugin.git" | ||
| "url": "https://github.com/SamhammerAG/retejs-vue-plugin" | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/retejs/vue-plugin/issues" | ||
| "url": "https://github.com/SamhammerAG/retejs-vue-plugin/issues" | ||
| }, | ||
@@ -27,0 +28,0 @@ "peerDependencies": { |
+1
-2
@@ -6,3 +6,2 @@ import { BaseSchemes, CanAssignSignal, Scope } from 'rete' | ||
| import { Position, RenderSignal } from './types' | ||
| import { Context, Instance } from './vuecompat/types' | ||
@@ -35,3 +34,3 @@ export * as Presets from './presets' | ||
| */ | ||
| setup?: (context: Context) => Instance; | ||
| setup?: (context: object) => object; | ||
| } | ||
@@ -38,0 +37,0 @@ |
| import type VueNamespace from 'vue' | ||
| type Vue = typeof VueNamespace | ||
| export type Context = Vue extends { createApp: (arg: infer U) => any } | ||
| ? U | ||
| : (Vue extends { new(options: infer U): any } ? U : any) | ||
| export type Instance = Vue extends { createApp: (arg: any) => infer U } | ||
| ? U | ||
| : (Vue extends { new(options: any): infer U } ? U : any) |
47543
-0.77%53
-1.85%650
-1.37%