Skip to content

Commit

Permalink
docs: Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Jan 29, 2025
1 parent 92b4559 commit e3ed249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linter/ui5Types/SourceFileLinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ export default class SourceFileLinter {
this.isUi5ClassDeclaration(declaration, "sap/ui/core/Control")) &&
node.arguments[0] && ts.isObjectLiteralExpression(node.arguments[0])) {
// Setting names in UI5 are case sensitive. So, we're not sure of the exact name of the property.
// Check lowercase version of the property name as well.
// Check decapitalized version of the property name as well.
const propName = symbolName.replace("bind", "");
const alternativePropName = propName.charAt(0).toLowerCase() + propName.slice(1);

Expand Down

0 comments on commit e3ed249

Please sign in to comment.