To run the examples:
$ cd examples/typescript
$ yarn
$ npx ts-node <example>.ts
# if you have jq installed
$ npx ts-node <example>.ts | jq
Examples:
counter.example.ts
: Counts the number of messages that have been logged: displaying the count value in the log message.