We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04e6124 + be3bce0 commit 69b64afCopy full SHA for 69b64af
exercises/08-removeMapsFromObj.exercise.ts
@@ -56,7 +56,7 @@ type RemoveMaps<TString> = TString extends `maps:${infer TSuffix}`
56
*/
57
58
export const removeMapsPrefixFromObj = <TObj>(
59
- obj: TObj,
+ obj: TObj
60
): RemoveMapsPrefixFromObj<TObj> => {
61
const newObj = {} as any;
62
/** ^ 🕵️♂️
@@ -354,7 +354,7 @@ type Data = GetData<{ data: number }>;
354
* 💡 It takes a <TObj> generic, meaning that anything passed to
355
* it can be manipulated and used in the output.
356
*
357
- * 💡 The return type is our our RemoveMapsPrefixFromObj type,
+ * 💡 The return type is our RemoveMapsPrefixFromObj type,
358
* which is being called on TObj.
359
360
* 🕵️♂️ There's an 'as any' sticking out like a sore thumb. Try
0 commit comments