TypeScript/tests/cases/fourslash/quickInfoTypeAliasDefinedInDifferentFile.ts
Andy 10c8d5effa In services, show the aliasSymbol for a type even if it's not accessible in the current scope (#17433)
* In services, show the aliasSymbol for a type even if it's not accessible in the current scope

* Rename flag
2017-08-15 10:23:45 -07:00

12 lines
262 B
TypeScript

/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////export type X = { x: number };
////export function f(x: X): void {}
// @Filename: /b.ts
////import { f } from "./a";
/////**/f({ x: 1 });
verify.quickInfoAt("", "(alias) f(x: X): void\nimport f");