diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-12-03 23:08:33 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-12-03 23:09:16 +0100 |
commit | d14b3512082f450292463d7c77f26a22ab12b7de (patch) | |
tree | bb897a5b8df8ee170943013bb3e9b7f16bc9a6e0 /tsconfig.json | |
parent | 4983a35e1f7a176cc94fabea435552e0c73ec6bd (diff) | |
download | nextcloud-server-d14b3512082f450292463d7c77f26a22ab12b7de.tar.gz nextcloud-server-d14b3512082f450292463d7c77f26a22ab12b7de.zip |
fix: Adjust code to be Vue 2.7 compatible as `key` on `<template>` is Vue3 only
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'tsconfig.json')
-rw-r--r-- | tsconfig.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tsconfig.json b/tsconfig.json index 6049d729938..e813dbc0bde 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@vue/tsconfig/tsconfig.json", - "include": ["./apps/**/*.ts", "./apps/**/*.vue", "./core/**/*.ts", "./*.d.ts"], + "include": ["./apps/**/*.ts", "./apps/**/*.vue", "./core/**/*.ts", "./core/**/*.vue", "./*.d.ts"], "compilerOptions": { "types": ["jest", "node", "vue", "vue-router"], "outDir": "./dist/", @@ -18,6 +18,9 @@ "resolveJsonModule": true, "strict": true, }, + "vueCompilerOptions": { + "target": 2.7 + }, "ts-node": { // these options are overrides used only by ts-node // same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable |