Skip to content

Commit

Permalink
Explicit string type to help TS inferrence
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Aug 25, 2023
1 parent 19f114c commit 730ebbc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ describe('checking migration metadata changes on all registered SO types', () =>
// eslint-disable-next-line dot-notation
return [...root['server']['configService']['dynamicPaths'].entries()]
.flatMap(([configPath, dynamicConfigKeys]) => {
return dynamicConfigKeys.map((dynamicConfigKey) => `${configPath}.${dynamicConfigKey}`);
return dynamicConfigKeys.map(
(dynamicConfigKey: string) => `${configPath}.${dynamicConfigKey}`
);
})
.sort();
}
Expand Down

0 comments on commit 730ebbc

Please sign in to comment.