TypeScript/tests/cases/fourslash/goToDefinitionPartialImplementation.ts

20 lines
491 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
// @Filename: goToDefinitionPartialImplementation_1.ts
////module A {
//// export interface /*Part1Definition*/IA {
2014-07-13 01:04:16 +02:00
//// y: string;
//// }
////}
// @Filename: goToDefinitionPartialImplementation_2.ts
////module A {
//// export interface /*Part2Definition*/IA {
2014-07-13 01:04:16 +02:00
//// x: number;
//// }
////
2017-10-19 00:49:46 +02:00
//// var x: [|/*Part2Use*/IA|];
2014-07-13 01:04:16 +02:00
////}
2016-08-29 22:34:32 +02:00
verify.goToDefinition("Part2Use", ["Part1Definition", "Part2Definition"]);