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:
parent
d0fbc9fd0a
commit
5490930428
41 changed files with 112 additions and 82 deletions
|
@ -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] })
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue