TS4055TS4055 — Return Type Has Private Name
The return type of an exported function references a private or non-exported type.
TS2769None of the function overload signatures match the provided arguments.
The function has multiple overload signatures, and the arguments you passed do not match any of them. Each overload has specific type requirements, and your call satisfies none. This is common with DOM APIs and library functions that use overloads.
Review all available overloads for the function. Adjust the argument types to match one of the overload signatures. Check the documentation for the correct usage pattern. Consider using type assertions if necessary.
TS4055The return type of an exported function references a private or non-exported type.
TS1378Top-level await can only be used when the module option is set to a supported module system.
TS2698The spread operator (...) is used on a value that may not be an object type.
TS6133A variable, import, or parameter is declared but its value is never read.
TS2304TypeScript cannot find a variable, function, or type with the specified name in the current scope.
TS2353An object literal contains a property that does not exist on the target type.