Searched refs:TypeError (Results 1 – 25 of 632) sorted by relevance
12345678910>>...26
37 AssertType((a) => { if (/** @type { B } */ (a).y !== 0) throw TypeError(); return undefined;}…39 if (/** @type { B } */ (a).y !== 0) throw TypeError();45 AssertType(TypeError(), "TypeError");46 AssertType(TypeError, "TypeErrorConstructor");
26 print(err instanceof TypeError);33 print(err instanceof TypeError);
15 TypeError26 TypeError35 TypeError52 TypeError
14 TypeError15 TypeError
113 print(err instanceof TypeError);127 print(err instanceof TypeError);
16 throw new TypeError();
50 print(e instanceof TypeError);
40 throw TypeError("type error");
43 TypeError: Cannot find name a [varRedeclaration10.ts:22:1]
43 TypeError: Cannot find name a [varRedeclaration8.ts:24:1]
43 TypeError: Cannot find name a [varRedeclaration7.ts:22:1]
43 TypeError: Cannot find name a [varRedeclaration5.ts:22:1]
86 TypeError: Tuple type [] of length 0 has no element at index 0. [arrayDestructuring32.ts:17:1]
87 TypeError: Type 'number' is not assignable to type '[]'. [tupleAssignability14.ts:17:5]
88 TypeError: Tuple type [] of length 0 has no element at index 0. [arrayDestructuring1.ts:17:5]
86 TypeError: Type 'null' is not assignable to type 'never'. [assignment_never.ts:17:5]
87 TypeError: A function returning 'never' cannot have a reachable end point. [function_declaration_11…
87 TypeError: A function whose declared type is neither 'void' nor 'any' must return a value. [functio…
102 TypeError: Type '[1]' is not assignable to type '[]'. [tupleAssignability1.ts:17:5]
28 TypeError,
14 TypeError