Skip to content

Language service reports error on "export import" use #4727

@quedelsmith

Description

@quedelsmith

Using the TypeScript 1.6 beta in an AMD project with the following structure:

In one.ts:
export var something = 7;

In two.ts:
export import Something = require("one");

The project compiles successfully, but the language service for Visual Studio 2013 reports an error "Cannot find module 'one'." in two.ts.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions