Skip to content

Commit

Permalink
don't export constructor of VideoFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertWeng committed Apr 20, 2023
1 parent eee4b59 commit f194a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/teams-js/src/public/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export namespace video {
* VideoFrame definition, align with the W3C spec: https://www.w3.org/TR/webcodecs/
*/
// eslint-disable-next-line no-var, strict-null-checks/all
export declare var VideoFrame: {
declare var VideoFrame: {
prototype: VideoFrame;
new (source: CanvasImageSource, init?: VideoFrameInit): VideoFrame;
new (data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame;
Expand Down

0 comments on commit f194a4d

Please sign in to comment.