We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80924e5 commit b71ae4aCopy full SHA for b71ae4a
packages/shell-electron/package.json
@@ -34,7 +34,8 @@
34
"@vue-devtools/app-frontend": "^0.0.0",
35
"@vue-devtools/build-tools": "^0.0.0",
36
"@vue-devtools/shared-utils": "^0.0.0",
37
+ "vue": "^2.6.12",
38
"webpack": "^4.19.0",
39
"webpack-cli": "^3.1.0"
40
}
-}
41
+}
packages/shell-electron/types/index.d.ts
@@ -1 +1,15 @@
1
-export function connect(host?: string, port?: number|string): void
+import type { VueConstructor } from "vue";
2
+
3
+interface ConnectOptions {
4
+ io?: Function;
5
+ showToast?: Function;
6
+ app?: VueConstructor | VueConstructor[];
7
8
9
+export function connect(
10
+ host?: string,
11
+ port?: number | string,
12
+ options?: ConnectOptions
13
+): void;
14
15
+export function init(vue: VueConstructor | VueConstructor[]): void;
0 commit comments