mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00

This commit makes `deno check` ignore `Cannot find module` diagnostic if the missing module specifier matches one of ambient module pattern. (For example if there's `declare module "*.svg" { ... }` declaration in one of d.ts files, importing of `<any>.svg` doesn't cause type error with this change. This is necessary for passing the type checking of default vite template.) --------- Co-authored-by: David Sherret <dsherret@gmail.com>
2 lines
121 B
Text
2 lines
121 B
Text
error: Module not found "file:///[WILDLINE]logo.svg".
|
|
at file:///[WILDLINE]/ambient_modules/[WILDLINE].ts:[WILDLINE]
|