You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
clutz: Union of two generic functions is Function #715
The following: (reduced from goog.soy.renderAsElement)
/**
* @param {?function(T, Object<string, *>=):*|?function(T, null=, Object<string, *>=):*} t
* @param {T=} d
* @template T
*/
renderAsElement = function(t, d) {}
becomes function renderAsElement < T > (t : Function | null , d ? : T ) : void
Either function type on its own gets correctly converted. Also if I change the T to string, the union gets correctly converted.
Activity