TypeScript/tests/cases/fourslash/navigationItemsOverloads2.ts
Andy efc1b7df08
More thoroughly test navigateTo (#25239)
* More thoroughly test navigateTo

* Fix #25233 and #25237

* Update API (#24966)
2018-07-02 19:25:27 -07:00

17 lines
549 B
TypeScript

/// <reference path="fourslash.ts"/>
////interface I {
//// [|interfaceMethodSignature(a: string): boolean;|]
//// interfaceMethodSignature(b: number): boolean;
//// interfaceMethodSignature(f: I): boolean;
////}
////interface I {
//// [|interfaceMethodSignature(b: boolean): boolean;|]
////}
verify.navigateTo({
pattern: "interfaceMethodSignature",
expected: test.ranges().map(range =>
({ name: "interfaceMethodSignature", kind: "method", range, containerName: "I", containerKind: "interface" })),
});