UNPKG
nes-tetris-representation
Version:
latest (2.0.0)
2.0.0
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
A set of types and classes that represent the pieces, movement, and rng of NES Tetris
nes-tetris-representation
/
lib
/
choose-piece-input-handler.d.ts
3 lines
(2 loc)
•
135 B
TypeScript
View Raw
1
2
3
import
{
Piece
}
from
'./piece-types'
;
export
default
function
inputHandler
(
event: KeyboardEvent, disabled?: boolean
):
null
|
Piece
;