Skip to content

@types/react-native-vector-icons has dependency of deprecated @types/react-native #3915

@nzmedet

Description

@nzmedet

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

@rneui/base has a dependency of @types/react-native-vector-icons, but
@types/react-native-vector-icons has dependency of deprecated @types/react-native
relevant issue here
DefinitelyTyped/DefinitelyTyped#70040

Expected behavior

@rneui/base should not depend on @types/react-native-vector-icons, only depend on react-native-vector-icons

Describe the bug

Not sure if this bug should be resolved in this repository, might be better to fix in here https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-native-vector-icons/package.json#L10

@types/react-native is deprecated
https://www.npmjs.com/package/@types/react-native
should remove @types/react-native-vector-icons

Steps To Reproduce

just install @rneui/base in npm/yarn workspace

Screenshots

No response

Your Environment

`npx @rneui/envinfo`
    React Native Elements Env Info
   
    ## Global Dependencies:
   
      No related dependency found
   
   ## Local Dependencies:
   
    - @rneui/base : ^4.0.0-rc.7
    - @rneui/themed : ^4.0.0-rc.8
    - expo : ^51.0.20
    - react : 18.2.0
    - react-native : 0.74.3
    - @types/react : ~18.2.45

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions