Commit Graph

5 Commits

Author SHA1 Message Date
Hage Yaapa 2946c5b489 chore: improve Listener signature
Improved Listener signature so it can accept callback or promise.
2020-03-05 14:30:24 +05:30
Miroslav Bajtoš c7b88e9b8e
Add ObserverMixin members to ModelBase typings
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-03-02 11:54:48 +01:00
Miroslav Bajtoš 92654f646b
Add default generic arg value to `Listener` type
The changes introduced by dcfda58 may break existing consumers
of our typings. This commit fixes this problem by adding a default
value to the recently introduced generic argument of `Listener` type.

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-03-02 11:26:01 +01:00
Hage Yaapa dcfda58fda feat: add OperationHookContext interface
Added OperationHookContext interface.

Signed-off-by: Hage Yaapa <hage.yaapa@in.ibm.com>
2020-02-28 21:47:27 +05:30
Raymond Feng 77a2c9ab3b Add typescript type definitions 2018-05-09 12:47:27 -07:00