Skip to content

'/@react-native-async-storage/async-storage/types/index.d.ts' is not a module #471

Closed
@wwvevy

Description

@wwvevy

Current behavior

Install the storage component like the document said. And use it like normal, then the typescript will get the error
'/@react-native-async-storage/async-storage/types/index.d.ts' is not a module.

And i look for the d.ts file to find that module is still the old version. Like follow.
declare module '@react-native-community/async-storage'

Expected behavior

No errors show.

Repro steps

Install and use it like document said.

Environment

  • Async Storage version: 1.13.0
  • React-Native version: 0.63.3
  • Platform tested: iOS

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