diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2018-10-10 10:33:04 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-10-11 15:14:33 +0200 |
commit | 6bfe9d0120c8b6c3c522476b0ee95c9a54491145 (patch) | |
tree | 739241ed058fb05e74c1329032f39a1e6edc28c9 /server/sonar-web/src/main/js/apps/documentation | |
parent | 96ec2c5fe19cd8d5801bf833f8e384055422ae7d (diff) | |
download | sonarqube-6bfe9d0120c8b6c3c522476b0ee95c9a54491145.tar.gz sonarqube-6bfe9d0120c8b6c3c522476b0ee95c9a54491145.zip |
Update TS to 3.1.2
Diffstat (limited to 'server/sonar-web/src/main/js/apps/documentation')
-rw-r--r-- | server/sonar-web/src/main/js/apps/documentation/pages.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/documentation/pages.ts b/server/sonar-web/src/main/js/apps/documentation/pages.ts index 898f70b1bef..7aea76e867c 100644 --- a/server/sonar-web/src/main/js/apps/documentation/pages.ts +++ b/server/sonar-web/src/main/js/apps/documentation/pages.ts @@ -24,7 +24,7 @@ import * as Docs from './documentation.directory-loader'; import { separateFrontMatter, filterContent } from '../../helpers/markdown'; export default function getPages(): DocumentationEntry[] { - return Docs.map((file: any) => { + return ((Docs as unknown) as Array<{ content: string; path: string }>).map(file => { const parsed = separateFrontMatter(file.content); const content = filterContent(parsed.content); const text = getText(content); |