Skip to content

Commit 69b64af

Browse files
authored
Merge pull request #5 from anavalo/typoFix
fix: exercise 08 typo
2 parents 04e6124 + be3bce0 commit 69b64af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/08-removeMapsFromObj.exercise.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type RemoveMaps<TString> = TString extends `maps:${infer TSuffix}`
5656
*/
5757

5858
export const removeMapsPrefixFromObj = <TObj>(
59-
obj: TObj,
59+
obj: TObj
6060
): RemoveMapsPrefixFromObj<TObj> => {
6161
const newObj = {} as any;
6262
/** ^ 🕵️‍♂️
@@ -354,7 +354,7 @@ type Data = GetData<{ data: number }>;
354354
* 💡 It takes a <TObj> generic, meaning that anything passed to
355355
* it can be manipulated and used in the output.
356356
*
357-
* 💡 The return type is our our RemoveMapsPrefixFromObj type,
357+
* 💡 The return type is our RemoveMapsPrefixFromObj type,
358358
* which is being called on TObj.
359359
*
360360
* 🕵️‍♂️ There's an 'as any' sticking out like a sore thumb. Try

0 commit comments

Comments
 (0)