TS1149TS1149 — Import Declaration Not Allowed in Ambient Context
An import declaration conflicts with the ambient context of the file.
TS2683The this keyword has an implicit any type because there is no contextual type.
When noImplicitThis is enabled, TypeScript requires that this has a known type. Standalone functions, callback functions, and event handlers often lack this context.
Add a this parameter as the first parameter of the function to specify its type. Use arrow functions to capture the enclosing this. Bind the function to the correct context.
TS1149An import declaration conflicts with the ambient context of the file.
TS2741A required property is missing from the object being assigned.
TS6133A variable, import, or parameter is declared but its value is never read.
TS2305The specified export does not exist in the referenced module.
TS2556The function was called with more arguments than it accepts.
TS1375The await keyword is used inside a function that is not marked as async.