Skip to content

VS 2015 Preview language service not recognize --module (TypeScriptModuleKing) flag #1597

Closed
@flaticols

Description

@flaticols

Hi!

I'm build TypeScript from 4e5a3ae commit and release-1.4 branch. After this. in VS where use export keyword for modules . classes and etc. Visual Studio highlight as error
Cannot compile external modules unless the '--module' flag is provided

But it's compiled well fine.

Examples:

export module Foo {}
module Foo {}
export = Foo;

In project file "TypeScriptModuleKind" property set as "commonjs" or "amd".

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueNeeds More InfoThe issue still hasn't been fully clarifiedVisual StudioIntegration with Visual Studio

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions