What is the purpose of `@ts-expect-error` compared to `@ts-ignore` in TypeScript?
-
A
They are identical directives with different names
-
B
`@ts-expect-error` causes a compile error if the next line does NOT have a type error, making suppression intentional
-
C
`@ts-expect-error` suppresses all errors in the entire file
-
D
`@ts-ignore` is the newer preferred directive