Skip to content

Commit 487d320

Browse files
author
Mathias Lorenzen
committed
strong typed examples.
1 parent d5b106b commit 487d320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ console.log(calculator.add(1337, 3)); //prints undefined since second argument d
6060
console.log(calculator.add(1337, 2)); //prints 10 since second argument matches
6161

6262
//received call with first arg 1 and second arg less than 0
63-
calculator.received().add(1, Arg.is<number>(x => x < 0));
63+
calculator.received().add(1, Arg.is(x => x < 0));
6464
```
6565

6666
## What is this - black magic?

0 commit comments

Comments
 (0)