23 lines
No EOL
659 B
TypeScript
23 lines
No EOL
659 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) => y + /*1*/
|
|
|
|
goTo.marker("1");
|
|
|
|
verify.completionListContains("foo");
|
|
verify.completionListContains("x");
|
|
verify.completionListContains("y");
|
|
verify.completionListContains("z");
|
|
|
|
verify.completionListContains("bar");
|
|
verify.completionListContains("a");
|
|
verify.completionListContains("b");
|
|
verify.completionListContains("c");
|
|
|
|
verify.completionListContains("v");
|
|
verify.completionListContains("p"); |