Skip to content

Typescript compiler reports TS1385 error on Adjust class #134

@ahtokca

Description

@ahtokca

Dear Adjust,

I use tsc for my react native app and I get the error below running tsc --noemit check.

react-native-adjust/index.d.ts:184:64 - error TS1385: Function type notation must be parenthesized when used in a union type.

it doesn't like the line below

trackAdRevenue: (source: string, payload: string) => void | (source: AdjustAdRevenue) => void

Would it be possible to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions