TypeError: Cannot read properties of null (reading 'deficit') occurs when I try to use const frameDeficit = stats.frameStats.deficit,
I'm not sure if this is a bug or a type definition error because the editor didn't tell me that this might be undefined.
TypeError: Cannot read properties of null (reading 'deficit')
occurs when I try to useconst frameDeficit = stats.frameStats.deficit
, I'm not sure if this is a bug or a type definition error because the editor didn't tell me that this might be undefined.