Skip to content

Type should be simplified for quickInfo #16404

Closed
@ghost

Description

TypeScript Version: nightly (2.4.0-dev.20170609)

Code

/// <reference path="fourslash.ts" />
////interface I { x: string | number; }
////declare const i: I & { x: number };
////i./**/x;

verify.quickInfoAt("", "(property) x: number");

Expected behavior:

Test succeeds.

Actual behavior:

Shows (property) x: number | (string & number).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs More InfoThe issue still hasn't been fully clarified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions