Use Promise<void> instead of Promise<undefined>.
Merge pull request #55 from mounirlamouri/promise_void

Use Promise<void> instead of Promise<undefined>.