Ability to silence JSII warnings selectively #1073
Labels
closed-for-staleness
effort/medium
Medium work item – a couple days of effort
feature-request
A feature should be added or improved.
language/typescript
Related to Typescript code
module/compiler
Issues affecting the JSII compiler
module/tools
Issues related to the JSII toolkit
p1
🚀 Feature Request
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)Proposed Solution
The
jsii
compilation emits warnings when language keywords are used for identifiers in TypeScript code, as this may result in sub-par code being generated in other languages. In certain cases, those warnings were introduced after the APIs were declared stable, so they cannot be addressed anymore without incurring an undesirable major version change.The proposal is to allow user code to silence the warning on select offenses, noting that they have intentionally decided to leave it this way.
The text was updated successfully, but these errors were encountered: