mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
fix: add vue/tsconfig, drop ts implementations for .vue files
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
parent
4c010491c8
commit
2a3c1b7556
3 changed files with 7 additions and 10 deletions
|
|
@ -39,7 +39,7 @@
|
|||
</span>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
<script>
|
||||
import Microphone from 'vue-material-design-icons/Microphone.vue'
|
||||
import MicrophoneOff from 'vue-material-design-icons/MicrophoneOff.vue'
|
||||
|
||||
|
|
@ -103,13 +103,13 @@ export default {
|
|||
return this.size / 8
|
||||
},
|
||||
|
||||
iconPrimaryHeight(): number {
|
||||
iconPrimaryHeight() {
|
||||
return this.audioPreviewAvailable
|
||||
? this.size - this.iconOffsetBottom - this.currentVolumeIndicatorHeight
|
||||
: this.size
|
||||
},
|
||||
|
||||
iconOverlayHeight(): number {
|
||||
iconOverlayHeight() {
|
||||
return this.iconOffsetBottom / 2 + this.currentVolumeIndicatorHeight
|
||||
},
|
||||
|
||||
|
|
|
|||
2
src/types/vendor/@nextcloud/vue.d.ts
vendored
2
src/types/vendor/@nextcloud/vue.d.ts
vendored
|
|
@ -1,2 +1,4 @@
|
|||
declare module '@nextcloud/vue/dist/*.js'
|
||||
declare module '@nextcloud/vue/dist/*.mjs'
|
||||
declare module '@nextcloud/vue/dist/*.cjs'
|
||||
declare module '@nextcloud/vue/dist/*.vue'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"include": ["./src/**/*.ts", "./src/**/*.vue"],
|
||||
"extends": "@vue/tsconfig/tsconfig.json",
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": ["node_modules", "vendor"],
|
||||
"compilerOptions": {
|
||||
"outDir": "./js",
|
||||
|
|
@ -7,12 +8,6 @@
|
|||
"checkJs": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
"lib": ["ESNext"],
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"verbatimModuleSyntax": true,
|
||||
"target": "ES2020",
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
},
|
||||
"vueCompilerOptions": {
|
||||
"target": 2.7,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue