E0357 Comment that turns type checking off
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
// @ts-nocheck, // @ts-ignore and // @ts-expect-error tell TypeScript to skip a file or a line, in any letter case: @ts-ignore and @ts-expect-error at the start of a comment line, @ts-nocheck in the file's leading comments. A comment that only mentions one of them is fine. A /// <reference ...> comment, however it is spaced, brings in declarations that no import names. duolith type-checks every page, and nothing may switch that off or widen it unseen (decision 0097), so these comments are refused in pages, components and the project's own .ts and .d.ts files.
How to fix it
Remove the comment and fix the error it hides. If a type is wrong, correct the type. Import a type with import type instead of a reference.
In a terminal
duolith explain E0357