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
/** * A function whose signature is very long. * * @typedef {function(boolean, string, number): * (string|number)} StringOrNumber *//** * Makes use of a function type with a long signature. * @param {StringOrNumber} func The function. * @param {boolean} bool The condition. * @param {string} str The string. * @param {number} num The number. * @returns {string|number} The return. */functioncheck(func,bool,str,num){returnfunc(bool,str,num)}
TypeScript Version: 3.1.0-dev.20180901
Search Terms:
Code
Expected behavior:
tsc --pretty
reports no errors.Actual behavior:
Related Issues:
This is a variation of #23667 and in the same family as #26027 and #26774. Also pretty similar to #25779.
The text was updated successfully, but these errors were encountered: