c8e2f58ec5
* Add completions for `asserts` * Add declare assertions.
11 lines
451 B
TypeScript
11 lines
451 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
//// const x = "str";
|
|
//// function assert1(condition: any, msg?: string): /*1*/ ;
|
|
//// function assert2(condition: any, msg?: string): /*2*/ { }
|
|
//// function assert3(condition: any, msg?: string): /*3*/
|
|
//// hi
|
|
|
|
verify.completions({marker: "1", exact: completion.globalTypes});
|
|
verify.completions({marker: "2", exact: completion.globalTypes});
|
|
verify.completions({marker: "3", exact: completion.globalTypes});
|