mesh.ts MeshProps requires uvs to not be undefined, client.ts has ClientMesh where uvs can be undefined and GameContainer destructures a ClientMesh into a Mesh. This could lead to Mesh getting props.uvs === undefined.
Why don't we get a compiler error and is MeshProps correctly defined?
mesh.ts MeshProps requires uvs to not be undefined, client.ts has ClientMesh where uvs can be undefined and GameContainer destructures a ClientMesh into a Mesh. This could lead to Mesh getting
props.uvs === undefined
.Why don't we get a compiler error and is MeshProps correctly defined?