15 lines
349 B
TypeScript
15 lines
349 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////interface Array<T> {
|
|
//// /*definition*/specialPop(): T
|
|
////}
|
|
////
|
|
////var strings: string[];
|
|
////var numbers: number[];
|
|
////
|
|
////var x = (strings || numbers)./*usage*/specialPop()
|
|
|
|
goTo.marker("usage");
|
|
verify.definitionCountIs(1);
|
|
goTo.definition();
|
|
verify.caretAtMarker("definition");
|