From 5ea4f272e9fcd01dbedc2e33c474f28015775482 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Sat, 9 Nov 2024 11:17:04 +0000 Subject: [PATCH] bug(uncover-image-game.md): code broken by source formatting commit, fixes #318 --- recipes/uncover-image-game.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/uncover-image-game.md b/recipes/uncover-image-game.md index 9aa501ce..7c0d2cd1 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('') );