Skip to content

Commit

Permalink
[Task (IAC-807] Fixed lint errors.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Kantchev <[email protected]>
  • Loading branch information
akantchev committed Apr 10, 2024
1 parent a27c569 commit 9cae94b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class HintLookup implements Disposable {
this.logger.debug(`Module hint: ${JSON.stringify(module, null, 4)}`)

if (module?.actions) {
return module.actions.filter(action => !!action)
return module.actions.filter((action: any) => !!action)
}

return []
Expand Down Expand Up @@ -139,7 +139,7 @@ export class HintLookup implements Disposable {
for (const api of this.scriptingApi.global) {
for (const cls of api.classes) {
const hasConstructors = !!cls.constructors && cls.constructors.length > 0
if ((filter.isInstantiable === undefined) || (hasConstructors === filter.isInstantiable)) {
if (filter.isInstantiable === undefined || hasConstructors === filter.isInstantiable) {
result.push(cls)
}
}
Expand Down

0 comments on commit 9cae94b

Please sign in to comment.