TS2698TS2698 — Spread Types Must Be Object Types
The spread operator (...) is used on a value that may not be an object type.
TS2540You are trying to modify a property that is marked as readonly.
The property is declared with the readonly modifier, which prevents reassignment after initialization. This applies to readonly class properties, Readonly<T> utility type, and const assertions.
Do not modify readonly properties after initialization. Create a new object with the changed value if immutability is desired. Remove the readonly modifier if mutation is needed.
const obj = { name: 'A' } as const;
obj.name = 'B';TS2698The spread operator (...) is used on a value that may not be an object type.
TS2612A property in a derived class conflicts with a getter/setter accessor in the base class.
TS2578A @ts-expect-error directive is present but no error occurs on the next line.
TS2856A @ts-check comment is used in a TypeScript file where it has no effect.
TS2503TypeScript cannot find a namespace with the specified name.
TS2306The file referenced in an import statement is not recognized as a module.