64 lines
1.5 KiB
TypeScript
64 lines
1.5 KiB
TypeScript
/// <reference path="fourslash.ts"/>
|
|
|
|
////class C {
|
|
//// [Symbol.isRegExp] = 0;
|
|
//// [Symbol.iterator]() { }
|
|
//// get [Symbol.isConcatSpreadable]() { }
|
|
////}
|
|
|
|
verify.navigationTree({
|
|
"text": "<global>",
|
|
"kind": "script",
|
|
"childItems": [
|
|
{
|
|
"text": "C",
|
|
"kind": "class",
|
|
"childItems": [
|
|
{
|
|
"text": "[Symbol.isConcatSpreadable]",
|
|
"kind": "getter"
|
|
},
|
|
{
|
|
"text": "[Symbol.isRegExp]",
|
|
"kind": "property"
|
|
},
|
|
{
|
|
"text": "[Symbol.iterator]",
|
|
"kind": "method"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
});
|
|
|
|
verify.navigationBar([
|
|
{
|
|
"text": "<global>",
|
|
"kind": "script",
|
|
"childItems": [
|
|
{
|
|
"text": "C",
|
|
"kind": "class"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "C",
|
|
"kind": "class",
|
|
"childItems": [
|
|
{
|
|
"text": "[Symbol.isConcatSpreadable]",
|
|
"kind": "getter"
|
|
},
|
|
{
|
|
"text": "[Symbol.isRegExp]",
|
|
"kind": "property"
|
|
},
|
|
{
|
|
"text": "[Symbol.iterator]",
|
|
"kind": "method"
|
|
}
|
|
],
|
|
"indent": 1
|
|
}
|
|
]);
|