Convince me I am wrong: This should not be a type error, right? - I asserted it’s an object - I am using `?.` for property access www.typescriptlang.org/play/#code/G...
Post
That's just how the object type works in typescript. You're asserting it's an object and then trying to use it like `any` but it's not equivalent.
0 reposts0 likes