Skip to content

error MSB6006: "tsc.exe" exited with code 1 #3166

Description

@NoelAbrahams

Hi,

Version: Visual Studio 2015 RC/TS 1.5 beta.

I have a repro for this.

Error:

------ Rebuild All started: Project: foo, Configuration: Debug Any CPU ------
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\TypeScript\Microsoft.TypeScript.targets(126,5): error MSB6006: "tsc.exe" exited with code 1.
Done building project "foo.njsproj" -- FAILED.

The compiler should have reported a no-implicit-any error, but fails instead. The error can be fixed with:

export var foo = () => ({
    moduleFooter: <any>undefined,
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions