mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Add tests for private and readonly parameter properties in navbar
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user