TypeScript/tests/cases/fourslash/quickInfoTypeAliasDefinedInDifferentFile.ts

12 lines
262 B
TypeScript
Raw Normal View History

/// <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");