Files
tsgo/testdata/baselines/reference/submodule/conformance/jsdocParseDotDotDotInJSDocFunction.errors.txt.diff

29 lines
926 B
Diff

--- old.jsdocParseDotDotDotInJSDocFunction.errors.txt
+++ new.jsdocParseDotDotDotInJSDocFunction.errors.txt
@@= skipped -0, +0 lines =@@
-a.js(2,13): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
-
-
-==== a.js (1 errors) ====
+a.js(2,21): error TS1005: '}' expected.
+a.js(8,20): error TS1005: '}' expected.
+
+
+==== a.js (2 errors) ====
// from bcryptjs
/** @param {function(...[*])} callback */
- ~~~~~~~~~~~~~~~~
-!!! error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
+ ~
+!!! error TS1005: '}' expected.
function g(callback) {
callback([1], [2], [3])
}
/**
* @type {!function(...number):string}
+ ~
+!!! error TS1005: '}' expected.
* @inner
*/
var stringFromCharCode = String.fromCharCode;