25 lines
No EOL
674 B
TypeScript
25 lines
No EOL
674 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) => /*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"); |