site
site copied to clipboard
Article: why named properties must be assignable to index signatures
Overview
It's a quirk that I briefly mention in the book, but not strongly.
Oh, and -- the { ... [i: string]: unknown } trick for adding any arbitrary properties! It's come up a few times lately.