TypeScript/tests/cases/fourslash/navigationBarItemsSymbols2.ts
2016-10-11 08:32:37 -07:00

56 lines
1.2 KiB
TypeScript

/// <reference path="fourslash.ts"/>
////interface I {
//// [Symbol.isRegExp]: string;
//// [Symbol.iterator](): string;
////}
verify.navigationTree({
"text": "<global>",
"kind": "script",
"childItems": [
{
"text": "I",
"kind": "interface",
"childItems": [
{
"text": "[Symbol.isRegExp]",
"kind": "property"
},
{
"text": "[Symbol.iterator]",
"kind": "method"
}
]
}
]
});
verify.navigationBar([
{
"text": "<global>",
"kind": "script",
"childItems": [
{
"text": "I",
"kind": "interface"
}
]
},
{
"text": "I",
"kind": "interface",
"childItems": [
{
"text": "[Symbol.isRegExp]",
"kind": "property"
},
{
"text": "[Symbol.iterator]",
"kind": "method"
}
],
"indent": 1
}
]);