File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import NativeGoogleMobileAdsNativeModule, {
30
30
import { NativeAdRequestOptions } from '../../types' ;
31
31
import { validateNativeAdRequestOptions } from '../../validateNativeAdRequestOptions' ;
32
32
33
- type NativeAdListenerPayload < EventType extends NativeAdEventType > =
33
+ type NativeAdListenerPayload < EventType extends NativeAdEventType > =
34
34
EventType extends NativeAdEventType . PAID ? NativeAdPaidEventPayload : never ;
35
35
36
36
/**
@@ -96,7 +96,7 @@ export class NativeAd {
96
96
}
97
97
98
98
addAdEventListener < EventType extends NativeAdEventType > (
99
- type : EventType ,
99
+ type : EventType ,
100
100
listener : ( payload : NativeAdListenerPayload < EventType > ) => void )
101
101
{
102
102
if ( ! isOneOf ( type , Object . values ( NativeAdEventType ) ) ) {
You can’t perform that action at this time.
0 commit comments