From ebecd55b890c17ff0e2a2ac50cffbc7005e4410b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 17 May 2022 17:04:59 +0200 Subject: [PATCH] Fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/types/vue-material-design-icons.d.ts | 10 ++++++++++ tsconfig.json | 23 +++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 src/types/vue-material-design-icons.d.ts create mode 100644 tsconfig.json diff --git a/src/types/vue-material-design-icons.d.ts b/src/types/vue-material-design-icons.d.ts new file mode 100644 index 0000000000..82eb3410e1 --- /dev/null +++ b/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; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000000..a89a9be5bf --- /dev/null +++ b/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" + ] +}