Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove redundant falsy check for runtimeType * Replace silent conversion to null with an invariant and a useful error message * Add an error message for unexpected return value from resolveType * Make sure null and undefined mean could not determine type while false or 0 indicates wrong return type
- Loading branch information