Skip to content

TypeScript implicit 'any' #708

Closed
Closed
@alpha0010

Description

@alpha0010

Describe the bug

Updated to 7.2.0, and got:

node_modules/@testing-library/react-native/typings/index.d.ts:302:3 - error TS7020: Call signature, which lacks return-type annotation, implicitly has an 'any' return type.

302   (message?: string);
      ~~~~~~~~~~~~~~~~~~~


Found 1 error.

Expected behavior

Type checks run clean.

Steps to Reproduce

  1. Install latest version of testing library
  2. npx tsc

Versions

  npmPackages:
    @testing-library/react-native: ^7.2.0 => 7.2.0 
    react: 16.13.1 => 16.13.1 
    react-native: 0.63.4 => 0.63.4 
    react-test-renderer: 16.13.1 => 16.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions