Open leftiness opened 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/
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/