Last active
September 8, 2023 03:31
-
-
Save edezekiel/eb36d4c574e7295b37430a273bcbb751 to your computer and use it in GitHub Desktop.
Example showing that Functions also satisfy generic Identity index signature
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
parseObject( | |
addIndexSignature(() => { console.log('whoops'); }) // This should be an Error | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment