Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Multiple module declarations with similar imports cause "no-duplicate-imports" #79

Open
mxl opened this issue Oct 5, 2017 · 0 comments

Comments

@mxl
Copy link

mxl commented Oct 5, 2017

Running dtslint on this:

declare module 'a' {
    import { Component } from 'react'
}

declare module 'a/b' {
    import { Component } from 'react'
}

results in

no-duplicate-imports Multiple imports from 'react' can be combined into one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant