We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75dbcfd commit 1b02776Copy full SHA for 1b02776
src/parser.ts
@@ -2095,7 +2095,7 @@ export class Parser extends DiagnosticEmitter {
2095
} else if (flags & CommonFlags.PRIVATE) {
2096
this.error(
2097
DiagnosticCode._0_modifier_cannot_be_used_here,
2098
- tn.range(accessStart, accessEnd), "protected"
+ tn.range(accessStart, accessEnd), "private"
2099
); // recoverable
2100
}
2101
if (flags & CommonFlags.STATIC) {
0 commit comments