TS2538TS2538 — Type Cannot Be Used as Index
The type of the index expression is not valid for indexing the object.
TS2497A CommonJS module is being imported with named import syntax but only has a default export.
The module uses module.exports or exports = which in TypeScript maps to a default export. Using named import syntax will not work because the module does not have named exports in its type definition.
Use a default import: import module from 'module'. Enable esModuleInterop in tsconfig to allow import * as module from 'module'. Check the module's type declarations for the correct import syntax.
TS2538The type of the index expression is not valid for indexing the object.
TS2464A computed property name in a type literal must be a simple expression.
TS2698The spread operator (...) is used on a value that may not be an object type.
TS2493You are accessing a tuple element at an index that does not exist.
TS1131TypeScript expected a property declaration or method signature but found something else.
TS2328Two construct signatures (new() calls) have incompatible types.