24 lines
No EOL
662 B
TypeScript
24 lines
No EOL
662 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"); |