mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): improve lang type in file-handler script (#64789)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user