2016-07-22 16:15:12 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
//// export interface ConfigFiles {
|
|
|
|
//// jspm: string;
|
|
|
|
//// 'jspm:browser': string;
|
|
|
|
//// }
|
|
|
|
|
|
|
|
//// function foo(c: ConfigFiles) {}
|
|
|
|
//// foo({
|
|
|
|
//// j/*0*/: "",
|
2020-04-02 02:58:16 +02:00
|
|
|
//// "[|/*1*/|]": "",
|
2016-07-22 16:15:12 +02:00
|
|
|
//// })
|
|
|
|
|
2020-04-02 02:58:16 +02:00
|
|
|
const replacementSpan = test.ranges()[0]
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions(
|
|
|
|
{ marker: "0", exact: ["jspm", '"jspm:browser"'] },
|
2020-04-02 02:58:16 +02:00
|
|
|
{ marker: "1", exact: [
|
|
|
|
{ name: "jspm", replacementSpan },
|
|
|
|
{ name: "jspm:browser", replacementSpan }
|
|
|
|
] }
|
2018-10-29 18:03:25 +01:00
|
|
|
);
|