2017-10-04 18:32:09 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @allowJs: true
|
|
|
|
|
|
|
|
// @Filename: /a.js
|
|
|
|
/////** @type {{ p: "x" | "y" }} */
|
|
|
|
////const x = { p: "x" };
|
2020-04-02 02:58:16 +02:00
|
|
|
////x.p = "[|/**/|]";
|
2017-10-04 18:32:09 +02:00
|
|
|
|
2020-04-02 02:58:16 +02:00
|
|
|
verify.completions({ marker: "", exact: [
|
|
|
|
{ name: "x", replacementSpan: test.ranges()[0] },
|
|
|
|
{ name: "y", replacementSpan: test.ranges()[0] }
|
|
|
|
] });
|