Skip to content

Commit c2e9cc1

Browse files
committed
Updated workshop files
1 parent 6cbbe22 commit c2e9cc1

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/018-unions-and-narrowing/workshop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Change the type definitions of `throwError` to make the type error inside `handl
7878

7979
### 071 - Narrowing in Different Scopes
8080

81-
Change the code inside `findUsersByName` so that the type error goes away.
81+
Change the code inside `findUsersByName` so that the type error goes away. Don't change the definition of `searchParams`.
8282

8383
Also - why is the type error happening in the first place?
8484

src/020-objects/workshop.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,3 @@ https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys
4949
We want to be able to pass a partial `Product` object to `updateProduct`. See if you can redefine the definition of `productInfo` to make the errors go away.
5050

5151
https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype
52-
53-
### 096.5 - Common Keys of Unions of Objects
54-
55-
Find the correct definition for `entity` in the `getAvatarImage` function. We should be able to pass either a User, Product or Organisation to the function.

0 commit comments

Comments
 (0)