TS18048TS18048 — Value Is Possibly Undefined
TypeScript warns that a value could be undefined and you are using it without checking.
TS2349The expression being called is not a function or callable type.
You are trying to call something that TypeScript does not recognize as a function. The variable may be typed as a non-function type, or a union type where not all members are callable. Overloaded types can also cause this when no signature matches.
Verify the value is actually a function. Add proper callable type annotations. Use type narrowing for union types that include non-function members. Check for typos in the function name.
const x = 5;
x();TS18048TypeScript warns that a value could be undefined and you are using it without checking.
TS2488The type being iterated does not have a Symbol.iterator method.
TS2300The same identifier is declared more than once in the same scope.
TS2698The spread operator (...) is used on a value that may not be an object type.
TS2507The expression used with new is not a constructor type.
TS2366A function with a non-void return type does not have a return statement at the end.