TypeScript/tests/cases/fourslash/completionListInUnclosedFunction07.ts

9 lines
354 B
TypeScript
Raw Normal View History

2015-03-17 08:05:34 +01:00
/// <reference path="fourslash.ts" />
////function foo(x: string, y: number, z: boolean) {
//// function bar(a: number, b: string = /*1*/, c: typeof x = "hello"
////}
2018-05-01 22:00:13 +02:00
// Note: Ideally `c` wouldn't be included since it hasn't been initialized yet.
verify.completions({ marker: "1", includes: ["foo", "x", "y", "z", "bar", "a", "b", "c"]})