fix(curriculum): improve lang type in file-handler script (#64789)

This commit is contained in:
Diem-Trang Pham
2025-12-19 15:42:31 -06:00
committed by GitHub
parent b53d715704
commit 408290e0fb
+5 -2
View File
@@ -6,7 +6,10 @@ import { fileURLToPath } from 'node:url';
import debug from 'debug';
import type { Chapter } from '../../shared-dist/config/chapters.js';
import type { SuperBlocks } from '../../shared-dist/config/curriculum.js';
import type {
SuperBlocks,
ChallengeLang
} from '../../shared-dist/config/curriculum.js';
import type { Certification } from '../../shared-dist/config/certification-settings.js';
const log = debug('fcc:file-handler');
@@ -153,7 +156,7 @@ export type Challenge = {
missing?: boolean;
challengeFiles?: ChallengeFile[];
solutions?: ChallengeFile[][];
lang?: string;
lang?: ChallengeLang;
};
export interface BlockStructure {