Skip to content

Commit da9ad18

Browse files
committed
fix: mark nullable return values in index.d.ts
1 parent 22706c9 commit da9ad18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,15 @@ declare module 'react-native-adjust' {
224224
removeGlobalCallbackParameters: () => void
225225
removeGlobalPartnerParameters: () => void
226226
gdprForgetMe: () => void
227-
getIdfa: (callback: (idfa: string) => void) => void
228-
getIdfv: (callback: (idfv: string) => void) => void
227+
getIdfa: (callback: (idfa: string | null) => void) => void
228+
getIdfv: (callback: (idfv: string | null) => void) => void
229229
getGoogleAdId: (callback: (adid: string | null) => void) => void
230230
getAdid: (callback: (adid: string) => void) => void
231231
getAttribution: (callback: (attribution: AdjustAttribution) => void) => void
232-
getAmazonAdId: (callback: (adid: string) => void) => void
232+
getAmazonAdId: (callback: (adid: string | null) => void) => void
233233
getSdkVersion: (callback: (sdkVersion: string) => void) => void
234234
requestAppTrackingAuthorization: (handler: (status: number) => void) => void
235-
updateSkanConversionValue: (conversionValue: number, coarseValue: string, lockWindow: boolean, callback: (error: string) => void) => void
235+
updateSkanConversionValue: (conversionValue: number, coarseValue: string, lockWindow: boolean, callback: (error: string | null) => void) => void
236236
getAppTrackingAuthorizationStatus: (callback: (status: number) => void) => void
237237
trackThirdPartySharing: (adjustThirdPartySharing: AdjustThirdPartySharing) => void
238238
trackMeasurementConsent: (measurementConsent: boolean) => void

0 commit comments

Comments
 (0)