Team Captain @dynatrace Core UI
Record<string, *> is so convenient for map-like structures but can't be trusted.
Falsely assumes that any string will **always** return a defined value, which breaks in runtime easily.
My go-to replacement: Always wrap it with Partial<>
Record<string, *> is so convenient for map-like structures but can't be trusted.
Falsely assumes that any string will **always** return a defined value, which breaks in runtime easily.
My go-to replacement: Always wrap it with Partial<>