Browse Source

Add more principles.

pull/5/head
Oleksii Trekhleb 5 years ago
parent
commit
e6d4093783
  1. 2
      README.md

2
README.md

@ -225,7 +225,7 @@ function sum(a: number, b: number): ?number {
return a + b;
}
// This one should fails during the transpilation/compilation.
// This one should fail during the transpilation/compilation.
const guessWhat = sum([], {}); // -> undefined
```

Loading…
Cancel
Save