1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Remove suppressImplicitAnyIndexErrors

It's deprecated by TS
This commit is contained in:
Chocobozzz 2023-05-24 16:48:54 +02:00
parent d0fbc9fd0a
commit 5490930428
No known key found for this signature in database
GPG key ID: 583A612D890159BE
41 changed files with 112 additions and 82 deletions

View file

@ -3,6 +3,7 @@ import { catchError, map } from 'rxjs/operators'
import { HttpClient } from '@angular/common/http'
import { Injectable } from '@angular/core'
import { MarkdownService, RestExtractor, ServerService } from '@app/core'
import { objectKeysTyped } from '@shared/core-utils'
import { peertubeTranslate } from '@shared/core-utils/i18n'
import { About } from '@shared/models'
import { environment } from '../../../environments/environment'
@ -55,7 +56,7 @@ export class InstanceService {
hardwareInformation: ''
}
for (const key of Object.keys(html)) {
for (const key of objectKeysTyped(html)) {
html[key] = await this.markdownService.enhancedMarkdownToHTML({ markdown: about.instance[key] })
}