From e7954413e16d5814db5da6389f8d6e0c328812aa Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Fri, 26 Mar 2021 03:17:37 +0900 Subject: upgrade: Rust 1.51.0 (#9895) --- cli/tsc_config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tsc_config.rs') diff --git a/cli/tsc_config.rs b/cli/tsc_config.rs index 54ed34bf1..b89b3bf61 100644 --- a/cli/tsc_config.rs +++ b/cli/tsc_config.rs @@ -175,7 +175,7 @@ fn jsonc_to_serde(j: JsonValue) -> Value { #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] -struct TSConfigJson { +struct TsConfigJson { compiler_options: Option>, exclude: Option>, extends: Option, @@ -221,7 +221,7 @@ pub fn parse_config( ) -> Result<(Value, Option), AnyError> { assert!(!config_text.is_empty()); let jsonc = jsonc_parser::parse_to_value(config_text)?.unwrap(); - let config: TSConfigJson = serde_json::from_value(jsonc_to_serde(jsonc))?; + let config: TsConfigJson = serde_json::from_value(jsonc_to_serde(jsonc))?; if let Some(compiler_options) = config.compiler_options { parse_compiler_options(&compiler_options, Some(path.to_owned()), false) -- cgit v1.2.3