typed-typings/npm-bluebird

Support empty param resolve()?

Closed this issue · 1 comments

Should this be valid?

import Promise = require('bluebird');

new Promise((resolve, reject) => {
  resolve();
});

Currently, we have to:

...
new Promise((resolve, reject) => {
  resolve(null);
});
louy commented

IMHO it should.