We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a54422 commit 8e0afe1Copy full SHA for 8e0afe1
src/utils/type-challenges.ts
@@ -195,9 +195,7 @@ export async function getQuestionRaw(question: string): Promise<QuestionRaw> {
195
const cache = localCache.getQuestionCacheJson();
196
const { lastUpdated } = cache[question] || {};
197
return deepmerge(DEFAULT_RAW, {
198
- [QuestionFiles.check]: {
199
- content: testCases.replace(/(\/\/).*@ts-expect-error\s+/g, ''),
200
- },
+ [QuestionFiles.check]: { content: testCases },
201
[QuestionFiles.template]: { content: lastUpdated ?? template },
202
});
203
}
0 commit comments