efc1b7df08
* More thoroughly test navigateTo * Fix #25233 and #25237 * Update API (#24966)
16 lines
549 B
TypeScript
16 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" })),
|
|
});
|