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
tests/cases/compiler/index.js(8,21): error TS2345: Argument of type 'number' is not assignable to parameter of type '{ WindowDocked: number; WindowUndocked: number; ScriptsBreakpointSet: number; TimelineStarted: number; }'.
2
+
tests/cases/compiler/index.js(20,5): error TS2322: Type 'string' is not assignable to type '{ x: number; }'.
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type '{ WindowDocked: number; WindowUndocked: number; ScriptsBreakpointSet: number; TimelineStarted: number; }'.
35
+
}
36
+
}
37
+
38
+
/**
39
+
* @type {Host.UserMetrics.Bargh}
40
+
*/
41
+
var x = "ok";
42
+
43
+
/**
44
+
* @type {Host.UserMetrics.Blah}
45
+
*/
46
+
var y = "ok";
47
+
~
48
+
!!! error TS2322: Type 'string' is not assignable to type '{ x: number; }'.
0 commit comments