File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1266,7 +1266,7 @@ namespace ts {
12661266 Diagnostics . Exported_variable_0_has_or_is_using_private_name_1 ;
12671267 }
12681268 // This check is to ensure we don't report error on constructor parameter property as that error would be reported during parameter emit
1269- // The only exception here is if the constructor was marked as private. we are not emitting the constructor paramters at all.
1269+ // The only exception here is if the constructor was marked as private. we are not emitting the constructor parameters at all.
12701270 else if ( node . kind === SyntaxKind . PropertyDeclaration || node . kind === SyntaxKind . PropertySignature ||
12711271 ( node . kind === SyntaxKind . Parameter && hasModifier ( node . parent , ModifierFlags . Private ) ) ) {
12721272 // TODO(jfreeman): Deal with computed properties in error reporting.
You can’t perform that action at this time.
0 commit comments