I was looking at the source code of an angular repository and stumbled upon a line of code that uses multiple type assertions.
The code looks kinda like this one, it uses 2 type assertion: unknown and Record<string, unknown>
(window as unknown as Record<string, unknown>)['ResizeObserver']
Here's the link to the actual file.
What does multiple assertions actually mean?