Promise<void> should not require to pass undefined · Issue #8516 · microsoft/TypeScript

One should only need to write: function test(): Promise<void> { return Promise.resolve(); // error type '{}' is not assignable to type 'void' } Though this produces the error type '{}' is not assig...</void>