diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 16:48:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 16:56:05 +0200 |
commit | 54909304287f3c04dcfb39660be8ead57dc95440 (patch) | |
tree | 478f1b913f3bd4c3bbaa17525f0114c5b0a8689d /client/src/app/core/server/server.service.ts | |
parent | d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (diff) | |
download | PeerTube-54909304287f3c04dcfb39660be8ead57dc95440.tar.gz PeerTube-54909304287f3c04dcfb39660be8ead57dc95440.tar.zst PeerTube-54909304287f3c04dcfb39660be8ead57dc95440.zip |
Remove suppressImplicitAnyIndexErrors
It's deprecated by TS
Diffstat (limited to 'client/src/app/core/server/server.service.ts')
-rw-r--r-- | client/src/app/core/server/server.service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index 9f191f0a6..fc269749b 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts | |||
@@ -193,7 +193,8 @@ export class ServerService { | |||
193 | } | 193 | } |
194 | 194 | ||
195 | private loadHTMLConfigLocally () { | 195 | private loadHTMLConfigLocally () { |
196 | const configString = window['PeerTubeServerConfig'] | 196 | // FIXME: typings |
197 | const configString = (window as any)['PeerTubeServerConfig'] | ||
197 | if (!configString) { | 198 | if (!configString) { |
198 | throw new Error('Could not find PeerTubeServerConfig in HTML') | 199 | throw new Error('Could not find PeerTubeServerConfig in HTML') |
199 | } | 200 | } |