mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-13 20:45:51 -05:00
Add support for pedantic property access (#40171)
* Add support for pedantic property access * accept baseline * Update diag message * Avoid pedantic Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
This commit is contained in:
@@ -635,6 +635,15 @@ namespace ts {
|
||||
category: Diagnostics.Additional_Checks,
|
||||
description: Diagnostics.Include_undefined_in_index_signature_results
|
||||
},
|
||||
{
|
||||
name: "noPropertyAccessFromIndexSignature",
|
||||
type: "boolean",
|
||||
affectsBindDiagnostics: true,
|
||||
affectsSemanticDiagnostics: true,
|
||||
showInSimplifiedHelpView: false,
|
||||
category: Diagnostics.Additional_Checks,
|
||||
description: Diagnostics.Require_undeclared_properties_from_index_signatures_to_use_element_accesses
|
||||
},
|
||||
|
||||
// Module Resolution
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user