mihaip / react-closure-compiler

Tooling to teach Closure Compiler about React
Apache License 2.0
100 stars 14 forks source link

Declare ReactProps and ReactState as `?` #45

Closed arv closed 5 years ago

arv commented 5 years ago

This is so that overrides can narrow down the props/state parameters.

Also, do not add @override. This enforces that the original code sets @override correctly.