fix(check): honor ts suppressions for unresolved imports (#34163)
Fixes denoland/deno#32822.
This makes graph-derived unresolved import diagnostics respect preceding
`// @ts-ignore` and `// @ts-expect-error` comments. When a synthetic
missing-module diagnostic is suppressed by `@ts-expect-error`, Deno now
also filters the matching TS2578 unused directive diagnostic so the
directive is treated as consumed.
---------
Co-authored-by: fibibot <fibibot@users.noreply.github.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>