Need to check solutions in order to see there is another 4th possible type for Buried<T> - Treasure<T>.
Mismatching property names:
Readme file points to type Catacomb<T> with shape {contents: Buried<T>, type: 'catacomb'}, but in solution.ts instead of contents is used inside as a property.
Readme file points to type TunnelSystem<T> with shape {tunnels: Buried<T>[], type: 'tunnels'}, but in solution.ts instead of tunnels is used entrances as a property.
Typo Report Checklist
main
branch of the repository.Impacted Project File
What's Wrong?
Mismatching description inside Readme file.
Mismatching property names:
Catacomb<T>
with shape{contents: Buried<T>, type: 'catacomb'}
, but insolution.ts
instead ofcontents
is usedinside
as a property.TunnelSystem<T>
with shape{tunnels: Buried<T>[], type: 'tunnels'}
, but insolution.ts
instead oftunnels
is usedentrances
as a property.Additional Info
Thank you for the book <3