mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-23 21:04:36 -05:00
fix: update formating per prettier
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
e0e8356d56
commit
c087ad3dca
@@ -26,7 +26,7 @@ export type MarkdownRemark = {
|
||||
superBlock: SuperBlocks;
|
||||
// TODO: make enum like superBlock
|
||||
certification: string;
|
||||
title: typeof certMap[number]['title'];
|
||||
title: (typeof certMap)[number]['title'];
|
||||
};
|
||||
headings: [
|
||||
{
|
||||
|
||||
@@ -727,7 +727,7 @@ function getJavaScriptAlgoPath(project: string) {
|
||||
}
|
||||
|
||||
const titles = certMap.map(({ title }) => title);
|
||||
type Title = typeof titles[number];
|
||||
type Title = (typeof titles)[number];
|
||||
const legacyProjectMap: Partial<Record<Title, unknown>> = {};
|
||||
const projectMap: Partial<Record<Title, unknown>> = {};
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ interface CertChallengeProps {
|
||||
currentCerts: Steps['currentCerts'];
|
||||
superBlock: SuperBlocks;
|
||||
t: TFunction;
|
||||
title: typeof certMap[number]['title'];
|
||||
title: (typeof certMap)[number]['title'];
|
||||
user: User;
|
||||
verifyCert: typeof verifyCert;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user