2016-02-26 02:06:31 +01:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
// @allowJs: true
|
|
|
|
// @module: system
|
|
|
|
|
|
|
|
// @Filename: mod.js
|
|
|
|
//// function foo() { return {a: true}; }
|
|
|
|
//// module.exports = foo();
|
|
|
|
|
|
|
|
// @Filename: app.js
|
|
|
|
//// import mod from "./mod"
|
|
|
|
//// mod./**/
|
|
|
|
|
2019-05-16 23:46:10 +02:00
|
|
|
verify.completions({
|
|
|
|
marker: "",
|
|
|
|
exact: [
|
|
|
|
{ name: "a", kind: "property" },
|
|
|
|
{ name: "mod", kind: "warning", sortText: completion.SortText.JavascriptIdentifiers }
|
|
|
|
]
|
|
|
|
});
|