Skip to content

Commit

Permalink
docs: Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed Aug 20, 2024
1 parent 7477b9e commit 9e1fca2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/linter/ui5Types/SourceFileLinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,12 @@ export default class SourceFileLinter {
element.name.kind === ts.SyntaxKind.Identifier) {
this.analyzeIdentifier(element.name);
}
// TODO: Check whether handling of nested destructuring is required, example:
// `const { SomeObject: { SomeOtherObject } } = coreLib;`
// Does not cover destructuring with Computed Property Names, e.g.
// const propName = "SomeObject"
// const {[propName]: SomeVar} = coreLib;
// Currently this lacks support for handling nested destructuring, e.g.
// `const { SomeObject: { SomeOtherObject } } = coreLib;`
// Also not covered is destructuring with computed property names, e.g.
// const propName = "SomeObject"
// const {[propName]: SomeVar} = coreLib;
// Neither is expected to be relevant in the context of UI5 API usage.
});
}

Expand Down

0 comments on commit 9e1fca2

Please sign in to comment.