Last active
September 8, 2023 03:24
-
-
Save edezekiel/7874b668b7453a09f7aa910cb5591a24 to your computer and use it in GitHub Desktop.
Implicit index signature when assigning object literal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const hero = { name: 'codey' } // object literal | |
const generic: Record<string, unknown> = hero; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment