Skip to content

Commit e0e786f

Browse files
committed
switch to eslint-disable-next-line
1 parent f5da498 commit e0e786f

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/types/buffer.ts

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
export type SourceBufferName = 'video' | 'audio' | 'audiovideo';
22

3-
export type ExtendedSourceBuffer = SourceBuffer & { // eslint-disable-line no-restricted-globals
4-
ended?: boolean
3+
// eslint-disable-next-line no-restricted-globals
4+
export type ExtendedSourceBuffer = SourceBuffer & {
5+
ended?: boolean;
56
};
67

78
export type SourceBuffers = Partial<Record<SourceBufferName, ExtendedSourceBuffer>>;
@@ -13,12 +14,12 @@ export interface BufferOperationQueues {
1314
}
1415

1516
export interface BufferOperation {
16-
execute: Function
17-
onStart: Function
18-
onComplete: Function
19-
onError: Function
20-
start?: number
21-
end?: number
17+
execute: Function;
18+
onStart: Function;
19+
onComplete: Function;
20+
onError: Function;
21+
start?: number;
22+
end?: number;
2223
}
2324

2425
export interface SourceBufferListeners {
@@ -28,6 +29,6 @@ export interface SourceBufferListeners {
2829
}
2930

3031
export interface SourceBufferListener {
31-
event: string,
32-
listener: EventListener
32+
event: string;
33+
listener: EventListener;
3334
}

0 commit comments

Comments
 (0)