loopback-datasource-juggler/types
Miroslav Bajtoš 19048cd716
Fix Promise/Callback variants in datasource types
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š <mbajtoss@gmail.com>
2019-12-05 16:30:22 +01:00
..
common.d.ts Fix types to describe native Promise 2019-06-13 15:24:01 +02:00
connector.d.ts chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
datasource.d.ts Fix Promise/Callback variants in datasource types 2019-12-05 16:30:22 +01:00
inclusion-mixin.d.ts Add typescript type definitions 2018-05-09 12:47:27 -07:00
kv-model.d.ts fix: update TypeScript declaration for KV 2018-07-16 10:11:54 -07:00
model.d.ts chore: update copyrights years (#1737) 2019-05-08 11:45:37 -04:00
observer-mixin.d.ts Add typescript type definitions 2018-05-09 12:47:27 -07:00
persisted-model.d.ts Revert "chore: expose beginTransaction API" 2019-06-25 09:08:11 -04:00
query.d.ts Add typescript type definitions 2018-05-09 12:47:27 -07:00
relation-mixin.d.ts Add typescript type definitions 2018-05-09 12:47:27 -07:00
relation.d.ts Add typescript type definitions 2018-05-09 12:47:27 -07:00
scope.d.ts Add typescript type definitions 2018-05-09 12:47:27 -07:00
transaction-mixin.d.ts Add typescript type definitions 2018-05-09 12:47:27 -07:00
validation-mixin.d.ts Add typescript type definitions 2018-05-09 12:47:27 -07:00