From 9a2a8071d3a92aedc64718a00867ec0c1d2bad6e Mon Sep 17 00:00:00 2001 From: Vitaly Tomilov Date: Wed, 11 Mar 2020 16:43:27 +0000 Subject: [PATCH] docs --- extras/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/README.md b/extras/README.md index 72f61f2..982030c 100644 --- a/extras/README.md +++ b/extras/README.md @@ -61,8 +61,8 @@ type MyTuple = [number, string]; const onReceive = fromEmitterArgs(e, 'receive'); // creating 'receive' event const sub = onReceive.subscribe(data => { - // data[0] = 123, and is type "number" - // data[1] = 'hello' and type "string" + // data[0] = 123, strongly-typed + // data[1] = 'hello', strongly-typed }); e.emit('receive', 123, 'hello'); // source emitter sends multiple arguments