Closed heygsc closed 4 months ago
The key of [key, value] in Object. entries() is always of type string: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries Here, the type of valueAsType(value in result) is any.
So to fix type error, we can define an interface Result for here.
๐ Linked issue
โ Type of change
๐ Description
The key of [key, value] in Object. entries() is always of type string: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries Here, the type of valueAsType(value in result) is any.
So to fix type error, we can define an interface Result for here.
๐ Checklist