Merge pull request #8863 from Microsoft/navbar_readonly_property
Add tests for private and readonly parameter properties in navbar
This commit is contained in:
commit
13900aaf27
|
@ -1,7 +1,7 @@
|
|||
/// <reference path="fourslash.ts"/>
|
||||
|
||||
////class List<T> {
|
||||
//// constructor(public a: boolean, public b: T, c: number) {
|
||||
//// constructor(public a: boolean, private b: T, readonly c: string, d: number) {
|
||||
//// var local = 0;
|
||||
//// }
|
||||
////}
|
||||
|
@ -33,7 +33,11 @@ verify.navigationBar([
|
|||
{
|
||||
"text": "b",
|
||||
"kind": "property",
|
||||
"kindModifiers": "public"
|
||||
"kindModifiers": "private"
|
||||
},
|
||||
{
|
||||
"text": "c",
|
||||
"kind": "property"
|
||||
}
|
||||
],
|
||||
"indent": 1
|
||||
|
|
Loading…
Reference in a new issue