Jerko Steiner 19565563cc Add Contextual<Service, Context> type
As seen in TeamService2.ts, the Contextual type will add Context as the
last argument to any method of the interface, as long as the method has
0-4 arguments.

Interfaces with more than 4 arguments cannot use this type, but they
could be converted to interfaces which use 1 argument
(object/dictionary) only.

Some long-term thinking: Maybe only methods with a single argument
should be supported, similar to the way gRPC does it.
2019-08-07 22:37:48 +07:00
2019-04-15 21:45:03 +12:00
2019-08-01 09:17:38 +07:00
2019-07-31 07:19:22 +08:00
2019-01-18 20:15:13 +01:00
2019-08-05 18:11:46 +07:00
2019-08-02 22:47:06 +07:00
Description
No description provided
2.5 MiB
Languages
TypeScript 97.9%
JavaScript 2%