We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18a7b9 commit 068c831Copy full SHA for 068c831
utils/snippetParser.ts
@@ -9,16 +9,16 @@ import { reverseSlugify, slugify } from "../src/utils/slugify";
9
interface ParseLanguageResponse {
10
name: string;
11
icon: string;
12
- categories: Array<{
+ categories: {
13
14
- snippets: Array<SnippetType>;
15
- }>;
+ snippets: SnippetType[];
+ }[];
16
subLanguages: ParseLanguageResponse[];
17
}
18
19
interface ParseCategoryResponse {
20
21
22
23
24
const propertyRegex = /^\s+([a-zA-Z]+):\s*(.+)/;
@@ -136,8 +136,8 @@ function parseLanguage(
136
);
137
138
139
- const subLanguages: Array<ParseLanguageResponse> = [];
140
- const categories: Array<ParseCategoryResponse> = [];
+ const subLanguages: ParseLanguageResponse[] = [];
+ const categories: ParseCategoryResponse[] = [];
141
142
for (const category of readdirSync(path)) {
143
if (category === "icon.svg") continue;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments