chore(client): typescript migrate _mocks_/challenge-nodes.js (#44439)

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
Vinay
2022-01-07 16:33:44 +05:30
committed by GitHub
parent f9bc75cf9b
commit e904d9c871

View File

@ -1,4 +1,19 @@
const mockChallengeNodes = [
interface MockChallengeNodes {
challenge: {
fields: {
slug: string;
blockName: string;
};
id: string;
block: string;
title: string;
isPrivate: boolean;
superBlock: string;
dashedName: string;
};
}
const mockChallengeNodes: MockChallengeNodes[] = [
{
challenge: {
fields: {