From 8b943cc97fab890085448122e7c13dd035d0e238 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 20 Dec 2023 00:47:15 -0500 Subject: JSON validation (#394) * Set up JSON testing * Add schema validation * Use parseJson * Finish types * Disambiguate ext/json-schema from node dependency with the same name * Add support for specifying the jsconfig file * Don't expose types * Update types * Use dictionary map type * Fix types * Fix AJV warnings * Move types * Move anb rename file * Move common mocks * Simplify types --- jsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jsconfig.json') diff --git a/jsconfig.json b/jsconfig.json index 82048af1..4ab13106 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -12,7 +12,8 @@ "skipLibCheck": false, "baseUrl": ".", "paths": { - "*": ["./types/ext/*"] + "*": ["./types/ext/*"], + "ext/json-schema": ["./types/ext/json-schema"] }, "types": [ "chrome", -- cgit v1.2.3