(challengeFiles: ChallengeFile[])
| 197 | } |
| 198 | |
| 199 | async function configureTSCompiler(challengeFiles: ChallengeFile[]) { |
| 200 | if (hasTS(challengeFiles)) { |
| 201 | const tsConfig = getTSConfig(challengeFiles); |
| 202 | |
| 203 | if (tsConfig) { |
| 204 | await setupTSCompiler(tsConfig); |
| 205 | } else { |
| 206 | await setupTSCompiler(); |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | // TODO: All the buildXChallenge files have a similar structure, so make that |
| 212 | // abstraction (function, class, whatever) and then create the various functions |
no test coverage detected