leftiness / react-demo

Other
0 stars 0 forks source link

Use flow typing #13

Open leftiness opened 8 years ago

leftiness commented 8 years ago

Then write tests that expect createElement(element) without required props to throw an exception... and tests that expect foo(x: string) to throw when called with foo(number)... etc.

http://flowtype.org/