13 lines
344 B
TypeScript
13 lines
344 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////function foo(x: string, y: number, z: boolean) {
|
|
//// function bar(a: number, b: string, c: typeof x = /*1*/) {
|
|
////
|
|
//// }
|
|
////}
|
|
|
|
verify.completions({
|
|
marker: "1",
|
|
// Note: `c = c` would be a compile error
|
|
includes: ["foo", "x", "y", "z", "bar", "a", "b", "c"],
|
|
});
|