andrew-w-ross / typings-react-router

Type definitions for react-router
2 stars 19 forks source link

Missing method return types #1

Closed twschiller closed 8 years ago

twschiller commented 8 years ago

There are multiple places where a method return type is missing. This cause the Typescript compiler to fail when the noImplicitAny option is on. Some examples:

IRouterProps {
   ...
   stringifyQuery?(queryObject: Object);
   onError?(error: Error);
}