I am creating a shogi game board using Typescript. A shogi board has 9 ranks and files.
I\'d like to assert a 9x9 multidimensional array as a type to ensure both the
One quick simplification would be to create a Tuple9 type, that can be used to create the first level as well as the second level of the matrix:
Tuple9
type Tuple9 = [T, T, T, T, T, T, T, T, T] type Board9x9 = Tuple9>
= Tuple9>