declare function call any>( fn: Fn, ...args: Parameters ): any; call(function* (a: 'a') { }); // error, 2nd argument required