TypeScript/tests/cases/fourslash/completionsOptionalReplacementSpan1.ts
Andrew Branch f6f2d36ee3
Add optionalReplacementSpan to completions response (#40347)
* Add optionalReplacementRange to completions response

* Get the name right

* Fix unit tests

* Fix comment typo

* Fix comment typo

* Baseline
2020-09-04 13:09:52 -07:00

14 lines
269 B
TypeScript

/// <reference path="fourslash.ts" />
// @lib: dom
//// console.[|cl/*0*/ockwork|];
//// type T = Array["[|toS/*1*/paghetti|]"];
test.ranges().forEach((range, marker) => {
verify.completions({
marker: `${marker}`,
optionalReplacementSpan: range,
});
});