import-js/eslint-plugin-import

Import/export false positive between namespace and variable

Open

#2,901 opened on Oct 23, 2023

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (1,540 forks)batch import
bughelp wantedtypescript

Repository metrics

Stars
 (4,946 stars)
PR merge metrics
 (Avg merge 138d 22h) (3 merged PRs in 30d)

Description

export namespace testType { ... }

export const testType = { ... }

Results in: error Multiple exports of name 'testType' import/export

Here is an example: https://github.com/unional/type-plus/blob/main/type-plus/ts/testing/test_type.ts

Contributor guide