Skip to content

AbortController #240

@jakabjack

Description

@jakabjack

Hi!,
I'm trying to use this lib from react-native with typescript.
unfortunately 'npm run tsc' will complain about AbortController:

node_modules/react-async/dist-types/index.d.ts:333:71 - error TS2304: Cannot find name 'AbortController'.
 
333 export declare type PromiseFn<T> = (props: AsyncProps<T>, controller: AbortController) => Promise<T>;

Any ideas how to solve this?

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