Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created September 6, 2019 02:19
Show Gist options
  • Save miguelmota/62598b320ee448ffb2d22e4a230f72b1 to your computer and use it in GitHub Desktop.
Save miguelmota/62598b320ee448ffb2d22e4a230f72b1 to your computer and use it in GitHub Desktop.
TypeScript fix error "element implicitly has an 'any' type because expression of type 'any' can't be used to index type"
const someObject : { [key: string]: any } = {}
@owolabiezekiel
Copy link

this saved me a lot of stress. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment