> Type 'string' cannot be used to index type 'T' https://github.com/microsoft/TypeScript/issues/31661