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/shared/shared-share-modal | |
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/shared/shared-share-modal')
-rw-r--r-- | client/src/app/shared/shared-share-modal/video-share.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.ts b/client/src/app/shared/shared-share-modal/video-share.component.ts index 1b69aa2d0..32f900f15 100644 --- a/client/src/app/shared/shared-share-modal/video-share.component.ts +++ b/client/src/app/shared/shared-share-modal/video-share.component.ts | |||
@@ -106,7 +106,8 @@ export class VideoShareComponent { | |||
106 | includeVideoInPlaylist: false | 106 | includeVideoInPlaylist: false |
107 | }, { | 107 | }, { |
108 | set: (target, prop, value) => { | 108 | set: (target, prop, value) => { |
109 | target[prop] = value | 109 | // FIXME: typings |
110 | (target as any)[prop] = value | ||
110 | 111 | ||
111 | if (prop === 'embedP2P') { | 112 | if (prop === 'embedP2P') { |
112 | // Auto enabled warning title if P2P is enabled | 113 | // Auto enabled warning title if P2P is enabled |