mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +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>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script>
|
||||||
import Microphone from 'vue-material-design-icons/Microphone.vue'
|
import Microphone from 'vue-material-design-icons/Microphone.vue'
|
||||||
import MicrophoneOff from 'vue-material-design-icons/MicrophoneOff.vue'
|
import MicrophoneOff from 'vue-material-design-icons/MicrophoneOff.vue'
|
||||||
|
|
||||||
|
|
@ -103,13 +103,13 @@ export default {
|
||||||
return this.size / 8
|
return this.size / 8
|
||||||
},
|
},
|
||||||
|
|
||||||
iconPrimaryHeight(): number {
|
iconPrimaryHeight() {
|
||||||
return this.audioPreviewAvailable
|
return this.audioPreviewAvailable
|
||||||
? this.size - this.iconOffsetBottom - this.currentVolumeIndicatorHeight
|
? this.size - this.iconOffsetBottom - this.currentVolumeIndicatorHeight
|
||||||
: this.size
|
: this.size
|
||||||
},
|
},
|
||||||
|
|
||||||
iconOverlayHeight(): number {
|
iconOverlayHeight() {
|
||||||
return this.iconOffsetBottom / 2 + this.currentVolumeIndicatorHeight
|
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/*.js'
|
||||||
|
declare module '@nextcloud/vue/dist/*.mjs'
|
||||||
|
declare module '@nextcloud/vue/dist/*.cjs'
|
||||||
declare module '@nextcloud/vue/dist/*.vue'
|
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"],
|
"exclude": ["node_modules", "vendor"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./js",
|
"outDir": "./js",
|
||||||
|
|
@ -7,12 +8,6 @@
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
"lib": ["ESNext"],
|
"lib": ["ESNext"],
|
||||||
"module": "ESNext",
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"verbatimModuleSyntax": true,
|
|
||||||
"target": "ES2020",
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
},
|
},
|
||||||
"vueCompilerOptions": {
|
"vueCompilerOptions": {
|
||||||
"target": 2.7,
|
"target": 2.7,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue