Skip to content

Typescript types error [v1.0.8 is different from main branch]  #129

@BogdanGorelkin

Description

@BogdanGorelkin

When you are trying to

import UserAvatar from 'react-native-user-avatar'

an error occurs: Could not find a declaration file for module 'react-native-user-avatar'.

I guess pushing a new tag to git from main branch will solve this issue, because last version v.1.0.8 is outdated from main branch of this module.
In package.json of v1.0.8 path to should be replaced from
"types": "lib/typescript/src/index.d.ts", to "types": "lib/typescript/types.d.ts",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions