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

Appearance settings

--isolatedModules should warn about re-export of type #15231

Copy link
Copy link
@ghost

Description

TypeScript Version: nightly (Version 2.3.0-dev.20170417)

Code

a.ts

export const A = 0;
export type B = number;

b.ts

export { A, B } from "./a";

Expected behavior:

An error saying that the emit of b.ts depends on the contents of a.ts.

Actual behavior:

b.js is export { A } from "./a";.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeBugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.