Skip to content

[import/default] - false negative for react-test-renderer #2183

Closed
@Maxim-Mazurok

Description

I'm doing this:

import reactTestRenderer from 'react-test-renderer';

Getting this:

No default export found in imported module "react-test-renderer". eslint (import/default)

Using these types: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-test-renderer/index.d.ts

And I have esModuleInterop in my tsconfig, so this should not throw error (thanks to #1689)

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