Skip to content

Commit

Permalink
Follow prettier suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
VenelinBakalov committed Jul 4, 2024
1 parent aa24f17 commit bc46951
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class HintLookup implements Disposable {
}

const localCategories = workspaceFolder
/** @ts-ignore */ ? _.flatMap(this.configs.local[workspaceFolder.uri.fsPath], pack => pack.categories)
? /** @ts-ignore */ _.flatMap(this.configs.local[workspaceFolder.uri.fsPath], pack => pack.categories)

Check failure on line 117 in packages/node/vro-language-server/src/server/core/HintLookup.ts

View workflow job for this annotation

GitHub Actions / Build and Release

Element implicitly has an 'any' type because type 'Map<string, ConfigurationsPack[]>' has no index signature. Did you mean to call 'get'?
: []
const globalCategories = _.flatMap(this.configs.global, pack => pack.categories)
return _.unionWith(localCategories, globalCategories, (x, y) => x.path === y.path)
Expand Down

0 comments on commit bc46951

Please sign in to comment.