diff --git a/recipes/uncover-image-game.md b/recipes/uncover-image-game.md index 9aa501c..7c0d2cd 100644 --- a/recipes/uncover-image-game.md +++ b/recipes/uncover-image-game.md @@ -165,8 +165,7 @@ import { pluck, startWith } from 'rxjs/operators'; const positionChangeUnit = 2; export const keyboardEvents$ = fromEvent(document, 'keydown').pipe( - pluck < KeyboardEvent, - string > 'code', + pluck("code"), startWith('') );