Skip to content

Subsequent variable declarations error on typings.d.ts #5499

Closed
@dave11mj

Description

@dave11mj

Bug Report or Feature Request (mark with an x)

  • bug report -> please search issues before submitting
  • feature request

Versions.

@angular/cli: 1.0.0-rc.2
node: 6.9.5
os: darwin x64
@angular/common: 2.4.10
@angular/compiler: 2.4.10
@angular/core: 2.4.10
@angular/forms: 2.4.10
@angular/http: 2.4.10
@angular/platform-browser: 2.4.10
@angular/platform-browser-dynamic: 2.4.10
@angular/router: 3.4.10
@angular/cli: 1.0.0-rc.2
@angular/compiler-cli: 2.4.10

Repro steps.

  1. ng new test-typings
  2. cd test-typings/
  3. Open src/typings.d.ts using Atom with TypeStrong/atom-typescript package
  4. Notice error Subsequent variable declarations must have the same type. on line 2:13

The log given by the failure.

image

Desired functionality.

I would like to not see errors when using typings.d.ts

Mention any other details that might be useful.

Using Atom Version 1.15.0 and TypeStrong/atom-typescript 10.1.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfultype: bug/fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions