Skip to content

Commit

Permalink
fix(#117): typescript nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashornych committed Oct 7, 2024
1 parent c3a27e9 commit 4771f86
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/modules/backup-viewer/components/BackupViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ loadBackupFiles().then(() => {
})
let canReloadBackupFiles: boolean = true
let reloadBackupFilesTimeoutId: number | undefined = undefined
let reloadBackupFilesTimeoutId: ReturnType<typeof setTimeout> | undefined = undefined
async function reloadBackupFiles(manual: boolean = false): Promise<void> {
if (!canReloadBackupFiles && !manual) {
return
Expand Down
2 changes: 1 addition & 1 deletion src/modules/task-viewer/components/TaskDetailDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const taskColor = computed<string | undefined>(() => {
})
const taskDuration = ref<Duration | undefined>(props.task.duration)
let taskDurationRefreshTimeoutId: number | undefined = undefined
let taskDurationRefreshTimeoutId: ReturnType<typeof setTimeout> | undefined = undefined
function refreshDuration(): void {
taskDuration.value = props.task.duration
if (props.task.finished == undefined) {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/task-viewer/components/TaskList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async function loadTaskStatuses(): Promise<boolean> {
loadTaskStatuses().then()
let canReload: boolean = true
let reloadTimeoutId: number | undefined = undefined
let reloadTimeoutId: ReturnType<typeof setTimeout> | undefined = undefined
async function reload(manual: boolean = false): Promise<void> {
if (!canReload && !manual) {
return
Expand Down
2 changes: 1 addition & 1 deletion src/modules/task-viewer/components/TaskTitle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const taskColor = computed<string | undefined>(() => {
})
const taskDuration = ref<Duration | undefined>(props.task.duration)
let taskDurationRefreshTimeoutId: number | undefined = undefined
let taskDurationRefreshTimeoutId: ReturnType<typeof setTimeout> | undefined = undefined
function refreshDuration(): void {
taskDuration.value = props.task.duration
if (props.task.finished == undefined) {
Expand Down

0 comments on commit 4771f86

Please sign in to comment.