Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[no-redeclare] error for declare namespace #60

Closed
Labels
bugSomething isn't workingpackage: parserIssues related to @typescript-eslint/parserscope analyserIssues that are caused by bugs/incomplete cases in the scope analyser
@ficristo

Description

@ficristo

Repro
See below.

{"rules": {"no-redeclare":"error"  }}
export=CodeMirror;exportasnamespaceCodeMirror;declarefunctionCodeMirror(host:HTMLElement,options?:CodeMirror.EditorConfiguration):CodeMirror.Editor;declarenamespaceCodeMirror{}

Expected Result
No error.

Actual Result
no-redeclare error fordeclare namespace CodeMirror line.

Additional Info

Versions

packageversion
eslint-plugin-typescript1.0.0-rc.0
typescript-eslint-parsereslint-plugin-typescript/parser
typescript3.1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackage: parserIssues related to @typescript-eslint/parserscope analyserIssues that are caused by bugs/incomplete cases in the scope analyser

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp