Skip to content

Commit 9f55f6c

Browse files
committed
fix(typos): fix typos in chapters 16
1 parent b272e81 commit 9f55f6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book-content/chapters/16-the-utils-folder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ it("should return the result if the function succeeds", async () => {
957957
});
958958
```
959959

960-
Your task is to update `safeFunction` to have a generic type parameter, and update `PromiseFunc` to not return `Promise<Any>`. This will require you to combine generic types and functions to ensure that the tests pass successfully.
960+
Your task is to update `safeFunction` to have a generic type parameter, and update `PromiseFunc` to not return `Promise<any>`. This will require you to combine generic types and functions to ensure that the tests pass successfully.
961961

962962
<Exercise title="Exercise 5: Combining Generic Types and Functions" filePath="/src/085-the-utils-folder/219-combining-generic-types-with-generic-functions.problem.ts"></Exercise>
963963

@@ -1197,7 +1197,7 @@ const objMap = createStringMap();
11971197
const objMap: Map<string, unknown>;
11981198
```
11991199

1200-
Through these steps, we've successfully transformed `createStringMap` from a regular function into a generic function capable of receiving type arguments .
1200+
Through these steps, we've successfully transformed `createStringMap` from a regular function into a generic function capable of receiving type arguments.
12011201

12021202
### Solution 2: Default Type Arguments
12031203

0 commit comments

Comments
 (0)