TypeScript/tests/cases/fourslash/goToDefinitionObjectSpread.ts

10 lines
239 B
TypeScript
Raw Normal View History

2016-09-26 18:33:08 +02:00
/// <reference path='fourslash.ts'/>
////interface A1 { /*1*/a: number };
////interface A2 { /*2*/a?: number };
////let a1: A1;
////let a2: A2;
////let a12 = { ...a1, ...a2 };
2017-10-19 00:49:46 +02:00
////a12.[|a/*3*/|];
2016-09-26 18:33:08 +02:00
verify.goToDefinition('3', [ '1', '2' ]);