2014-10-23 21:52:42 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////// Outside the function
|
|
|
|
////declare function f1(a: number);/*1*/
|
|
|
|
////
|
|
|
|
////// inside the function
|
|
|
|
////declare function f2(b: number, b2 = /*2*/
|
|
|
|
////
|
|
|
|
////// Outside the function
|
|
|
|
////function f3(c: number) { }/*3*/
|
|
|
|
////
|
|
|
|
////// inside the function
|
|
|
|
////function f4(d: number) { /*4*/}
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions(
|
|
|
|
{ marker: "1", excludes: "a" },
|
|
|
|
{ marker: "2", includes: "b" },
|
|
|
|
{ marker: "3", excludes: "c" },
|
|
|
|
{ marker: "4", includes: "d" },
|
|
|
|
);
|