2017-07-06 23:45:50 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
// @allowJs: true
|
|
|
|
// @Filename: a.js
|
|
|
|
//// function MyObject(){
|
|
|
|
//// this.__property = 1;
|
|
|
|
//// }
|
|
|
|
//// var instance = new MyObject();
|
|
|
|
//// instance./*1*/
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({
|
|
|
|
marker: "1",
|
|
|
|
exact: [
|
|
|
|
{ name: "__property", text: "(property) MyObject.__property: number" },
|
2019-05-16 23:46:10 +02:00
|
|
|
{ name: "MyObject", sortText: completion.SortText.JavascriptIdentifiers },
|
|
|
|
{ name: "instance", sortText: completion.SortText.JavascriptIdentifiers },
|
2018-10-29 18:03:25 +01:00
|
|
|
],
|
|
|
|
});
|