Browse Source

Fix build

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/7308/head
Julius Härtl 4 years ago
committed by marco
parent
commit
ebecd55b89
  1. 10
      src/types/vue-material-design-icons.d.ts
  2. 23
      tsconfig.json

10
src/types/vue-material-design-icons.d.ts

@ -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

@ -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"
]
}
Loading…
Cancel
Save