TypeScript/tests/cases/fourslash/crossFileQuickInfoExportedTypeDoesNotUseImportType.ts
Wesley Wigham 8f9c0861bc
Use external aliases in quickinfo and signature help return types (#24391)
* Dont include import types in quick info type names

* Add UseAliasDefinedOutsideCurrentScope flag to LS operations which were missing it
2018-05-24 15:19:57 -07:00

20 lines
438 B
TypeScript

/// <reference path="fourslash.ts" />
// @Filename: b.ts
////export interface B {}
////export function foob(): {
//// x: B,
//// y: B
////} {
//// return null as any;
////}
// @Filename: a.ts
////import { foob } from "./b";
////const thing/*1*/ = foob(/*2*/);
verify.quickInfoAt("1", "const thing: {\n x: B;\n y: B;\n}");
verify.signatureHelp({
marker: "2",
text: "foob(): { x: B; y: B; }"
});