Fix build

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2022-05-17 17:04:59 +02:00 committed by marco
parent 7a24e2cc4d
commit ebecd55b89
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,10 @@
declare module 'vue-material-design-icons/VideoOff.vue';
declare module 'vue-material-design-icons/MenuDown.vue';
declare module '@nextcloud/vue/dist/Directives/Tooltip';
declare module '@nextcloud/vue/dist/Components/Button';
declare module '@nextcloud/vue/dist/Components/Actions';
declare module '@nextcloud/vue/dist/Components/ActionButton';
declare function t(app: string, string: string, vars?: { [key: string]: string }, count?: number, options?: EscapeOptions): string;

23
tsconfig.json Normal file
View file

@ -0,0 +1,23 @@
{
"compilerOptions": {
"outDir": "./dist/",
"sourceMap": false,
"noImplicitAny": true,
"module": "es6",
"target": "es5",
"paths": {
"@nextcloud/event-bus": [
"./node_modules/@nextcloud/event-bus/dist/index.js",
"./node_modules/@nextcloud/event-bus/dist/lib/*"
]
},
"allowJs": true
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
"vendor"
]
}