TS1202TS1202 — Import Assignment Not Allowed in Module
The import = require() syntax cannot be used in an ES module.
TS2684The this context of a function does not match the expected this type.
A function declares a specific this type, but it is being used in a context where the this value would be different. Callback assignments and method extractions commonly cause this mismatch.
Use .bind(this) to fix the this context. Use an arrow function instead of a regular function. Ensure the function is called with the correct this context.
TS1202The import = require() syntax cannot be used in an ES module.
TS1046An await expression or other top-level construct requires the file to be a module.
TS2305The specified export does not exist in the referenced module.
TS4055The return type of an exported function references a private or non-exported type.
TS2344A type argument does not meet the constraint specified by the generic type parameter.
TS2459A destructured import references a member that is not exported from the module.