-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Description
Issue
The typing provided by the package is incorrect, the typing claims the ShowResponse
contains Map
but since it's just a parsed JSON with no post-processing, the type is actually a Record
.
Line 255 in 45d2e01
model_info: Map<string, any>, |
Line 257 in 45d2e01
projector_info?: Map<string, any> |
Line 281 in 45d2e01
return (await response.json()) as ShowResponse |
Solution
Both should be typed as Record
instead of Map
hopperelec
Metadata
Metadata
Assignees
Labels
No labels