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
/** * @typedef {function(string): boolean} * MyType *//** * @param {MyType} func The function to call. * @param {string} arg The argument to call it with. * @returns {boolean} The return. */functioncallIt(func,arg){returnfunc(arg);}
Expected behavior:
No errors from tsc --pretty
Actual behavior:
main.js:7:12 - error TS2304: Cannot find name 'MyType'.
7 * @param {MyType} func The function to call.
~~~~~~
TypeScript Version: 3.1.0-dev.20180830
Search Terms:
Code
Expected behavior:
No errors from
tsc --pretty
Actual behavior:
Related Issues:
The text was updated successfully, but these errors were encountered: