Just tried updating to the latest 'develop' branch and I'm noticing that all calls to functions declared like this are now breaking (this is from underscore.d.ts):
export function memoize(
hashFn?: (...args: any) => string): Function;
I'm now seeing error messages like this:
Supplied parameters do not match any signature of call target:
Call signatures of types '(from: any, to: any) => string' and '(...args: any) => string' are incompatible:
Call signature expects 0 or fewer parameters.
The commonality in all these new errors seems to be a callback function with a specific return type but arbitrary arguments. This pattern is used in underscore, backbone, etc...
What is the new proper way to specify a callback function like this with the 'develop' compiler?