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