Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ a: string; }'.
No index signature with a parameter of type 'string' was found on type '{ a: string; }'.ts(7053)
If you have encountered an error like above then you probably need to the Index Signature in your Object Interface.
Top comments (0)