Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show more details about interface on hover #12920

Closed
normalser opened this issue Dec 14, 2016 · 1 comment
Closed

Show more details about interface on hover #12920

normalser opened this issue Dec 14, 2016 · 1 comment
Labels
Working as Intended The behavior described is the intended behavior; this is not a bug

Comments

@normalser
Copy link

interface Interface {
    a: string
}

type Type = {
    a: string
}


// Hovering over `Interface` shows only `interface Interface`
let a:Interface

// Hovering over `Type` shows `Type = { a: string }`
let b:Type
@RyanCavanaugh RyanCavanaugh added the Working as Intended The behavior described is the intended behavior; this is not a bug label Dec 14, 2016
@RyanCavanaugh
Copy link
Member

In general interfaces are longer. For many types (e.g. Window) we'd end up showing an unreasonably large tooltip that would be unuseful.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Working as Intended The behavior described is the intended behavior; this is not a bug
Projects
None yet
Development

No branches or pull requests

2 participants