mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
refactor(cli): extract TypeChecker to separate module (#28235)
Extracts it out of tools/check.rs to type_checker.rs which makes more sense because this is used across sub commands.
This commit is contained in:
parent
d20c6b5b7d
commit
761a9b62ce
7 changed files with 1078 additions and 1072 deletions
|
@ -81,9 +81,9 @@ use crate::resolver::CliCjsTracker;
|
|||
use crate::resolver::CliNpmReqResolver;
|
||||
use crate::resolver::CliResolver;
|
||||
use crate::sys::CliSys;
|
||||
use crate::tools::check;
|
||||
use crate::tools::check::CheckError;
|
||||
use crate::tools::check::TypeChecker;
|
||||
use crate::type_checker::CheckError;
|
||||
use crate::type_checker::CheckOptions;
|
||||
use crate::type_checker::TypeChecker;
|
||||
use crate::util::progress_bar::ProgressBar;
|
||||
use crate::util::text_encoding::code_without_source_map;
|
||||
use crate::util::text_encoding::source_map_from_code;
|
||||
|
@ -227,7 +227,7 @@ impl ModuleLoadPreparer {
|
|||
// the actual graph on the first run and then getting the Arc<ModuleGraph>
|
||||
// back from the return value.
|
||||
graph.clone(),
|
||||
check::CheckOptions {
|
||||
CheckOptions {
|
||||
build_fast_check_graph: true,
|
||||
lib,
|
||||
reload: self.options.reload_flag(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue