* Add replacement span for string literal * fix change requests * fix lint * Avoid flag * Fix baseline * ADd misising baseline
22 lines
508 B
TypeScript
22 lines
508 B
TypeScript
/// <reference path='fourslash.ts'/>
|
|
|
|
//// export interface ConfigFiles {
|
|
//// jspm: string;
|
|
//// 'jspm:browser': string;
|
|
//// }
|
|
|
|
//// function foo(c: ConfigFiles) {}
|
|
//// foo({
|
|
//// j/*0*/: "",
|
|
//// "[|/*1*/|]": "",
|
|
//// })
|
|
|
|
const replacementSpan = test.ranges()[0]
|
|
verify.completions(
|
|
{ marker: "0", exact: ["jspm", '"jspm:browser"'] },
|
|
{ marker: "1", exact: [
|
|
{ name: "jspm", replacementSpan },
|
|
{ name: "jspm:browser", replacementSpan }
|
|
] }
|
|
);
|