A comment directive is a comment that directs (changes) how a tool operates within a file. TypeScript includes several that can change type checking behavior for a file or on a specific line. The most common are `@ts-expect-error` & `@ts-ignore`, which disable type checking for a line. 2/🧵
2 likes 1 replies
?