TypeScript/tests/cases/fourslash/completionListInClosedFunction07.ts

17 lines
418 B
TypeScript

/// <reference path="fourslash.ts" />
////interface MyType {
////}
////
////function foo(x: string, y: number, z: boolean) {
//// function bar(a: number, b: string = "hello", c: typeof x = "hello") {
//// var v = (p: MyType) => /*1*/;
//// }
////}
verify.completions({
marker: "1",
includes: ["foo", "x", "y", "z", "bar", "a", "b", "c", "v", "p"],
excludes: "MyType",
});