diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-21 18:36:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 18:36:37 +0200 |
commit | 92edc364426ddb4c80292ebe7e702c02f9344c5b (patch) | |
tree | 2fb92cdd08b0d10a59a2cd4b4820f7afbca17486 /cli/tsc_config.rs | |
parent | 9d738fc1977e0bd3d36f361198a1101e17c3b3b3 (diff) |
refactor: use futures and serde_json from deno_core (#7614)
Diffstat (limited to 'cli/tsc_config.rs')
-rw-r--r-- | cli/tsc_config.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/tsc_config.rs b/cli/tsc_config.rs index a86b549bc..63538d49f 100644 --- a/cli/tsc_config.rs +++ b/cli/tsc_config.rs @@ -1,9 +1,10 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; +use deno_core::serde_json; +use deno_core::serde_json::Value; use jsonc_parser::JsonValue; use serde::Deserialize; -use serde_json::Value; use std::collections::HashMap; use std::fmt; use std::str::FromStr; @@ -178,7 +179,7 @@ pub fn parse_config( #[cfg(test)] mod tests { use super::*; - use serde_json::json; + use deno_core::serde_json::json; #[test] fn test_json_merge() { |