Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Promise/Callback variants in datasource types #1807
Remove usage of
See strongloop/loopback-next#4235 for background information.
Remove usage of `PromiseOrVoid`, it makes it difficult to consume the API via `await`. For each async method, define multiple variants to correctly describe what's returned when a callback arg was provided (`void`) and what's returned when called with no callback (`Promise<T>`). Signed-off-by: Miroslav Bajtoš <email@example.com>