Skip to content

Commit

Permalink
fix: fix typings on onReceiveAdEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
avencat committed Nov 22, 2023
1 parent 4f5eb68 commit 8a26b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VideoNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {NativeModules, requireNativeComponent} from 'react-native';
import type ResizeMode from './types/ResizeMode';
import type FilterType from './types/FilterType';
import type Orientation from './types/Orientation';
import type {OnTextTracksTypeData} from './types';
import type {AdEvent, OnTextTracksTypeData} from './types';

// -------- There are types for native component (future codegen) --------
// if you are looking for types for react component, see src/types/video.ts
Expand Down Expand Up @@ -237,7 +237,7 @@ export type OnPictureInPictureStatusChangedData = Readonly<{
}>;

export type OnReceiveAdEventData = Readonly<{
event: string;
event: AdEvent;
}>;

export type OnVideoErrorData = Readonly<{
Expand Down

0 comments on commit 8a26b34

Please sign in to comment.