MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / isTSConfig

Function isTSConfig

packages/challenge-builder/src/build.ts:184–185  ·  view source on GitHub ↗
(f: { name: string; ext: string })

Source from the content-addressed store, hash-verified

182}
183
184const isTSConfig = (f: { name: string; ext: string }) =>
185 f.name === 'tsconfig' && f.ext === 'json';
186
187export function getTSConfig(challengeFiles: ChallengeFile[]) {
188 const tsConfigFiles = challengeFiles.filter(isTSConfig);

Callers 2

buildDOMChallengeFunction · 0.85
buildJSChallengeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected