From 8a77714904fa7fb901e21f3426b0fa580e26ed61 Mon Sep 17 00:00:00 2001 From: connectdotz Date: Tue, 13 Sep 2022 14:16:47 -0400 Subject: [PATCH] remove unnecessary "null" setting types in package.json --- package.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2a9edf00d..c6ec3a948 100644 --- a/package.json +++ b/package.json @@ -110,10 +110,7 @@ }, "jest.nodeEnv": { "markdownDescription": "The env passed to runner process in addtion to `process.env`", - "type": [ - "object", - "null" - ], + "type": "object", "default": null, "scope": "resource" }, @@ -121,8 +118,7 @@ "markdownDescription": "The shell path or a login-shell to override jest runner process default shell (see Node [child_process.spawn()](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options)) for more detail)", "type": [ "string", - "object", - "null" + "object" ], "default": null, "scope": "resource" @@ -215,8 +211,7 @@ "markdownDescription": "Control when jest should run (changed) tests. It supports multiple models, such as fully automated, fully manual and onSave... See [AutoRun](https://github.com/jest-community/vscode-jest/blob/master/README.md#how-to-trigger-the-test-run) for details and examples", "type": [ "object", - "string", - "null" + "string" ], "default": null, "scope": "resource"