forked from owncloud/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.d.ts
More file actions
28 lines (22 loc) · 645 Bytes
/
web.d.ts
File metadata and controls
28 lines (22 loc) · 645 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/// <reference types="vite/client" />
import { UppyService } from '@ownclouders/web-pkg'
import { Route, Router } from 'vue-router'
// This file must have at least one export or import on top-level
export {}
declare global {
interface Window {
WEB_APPS_MAP: Record<string, string>
}
}
declare module 'vue' {
interface ComponentCustomProperties {
$uppyService: UppyService
$router: Router
$route: Route
}
interface GlobalComponents {
// https://github.com/LinusBorg/portal-vue/issues/380
Portal: (typeof import('portal-vue'))['Portal']
PortalTarget: (typeof import('portal-vue'))['PortalTarget']
}
}