We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 366a8ab commit 48729d9Copy full SHA for 48729d9
src/apis/createApp.ts
@@ -3,7 +3,8 @@ import { VueConstructor } from 'vue/types/umd'
3
import { getVueConstructor } from '../runtimeContext'
4
import { warn } from '../utils'
5
6
-export interface App {
+// Has a generic to match Vue 3 API and be type compatible
7
+export interface App<T = any> {
8
config: VueConstructor['config']
9
use: VueConstructor['use']
10
mixin: VueConstructor['mixin']
0 commit comments