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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
pull/44709/head
Vinay 2022-01-07 16:33:44 +05:30 committed by GitHub
parent f9bc75cf9b
commit e904d9c871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 1 deletions

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: {