Enable strict mode for extension build

This commit is contained in:
hensm
2020-01-23 00:58:33 +00:00
parent 3553912584
commit 7f84b90431
59 changed files with 526 additions and 331 deletions

View File

@@ -20,12 +20,12 @@ type Metadata =
| TvShowMediaMetadata;
export default class MediaInfo {
public customData: string = null;
public duration: number = null;
public metadata: Metadata = null;
public customData: any = null;
public duration: (number | null) = null;
public metadata: (Metadata | null) = null;
public streamType: string = StreamType.BUFFERED;
public textTrackStyle: TextTrackStyle = null;
public tracks: Track[] = null;
public textTrackStyle: (TextTrackStyle | null) = null;
public tracks: (Track[] | null) = null;
constructor (
public contentId: string