mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-11 08:04:30 +00:00
The generic type of the Promise should correspond to the non-error return-type of the function. The error is implicitly of type any and is not specified in the Promise generic type. https://stackoverflow.com/a/41079355/284318