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, c: typeof /*1*/) {
|
|
|
|
|
//// }
|
|
|
|
|
////}
|
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
|
verify.completions({
|
|
|
|
|
marker: "1",
|
|
|
|
|
// Note: `c: typeof c` would be a compile error
|
|
|
|
|
includes: ["foo", "x", "y", "z", "bar", "a", "b", "c"],
|
|
|
|
|
});
|