From d0e62533b1e8cde03070d41933331b8af5729066 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Alapont Date: Thu, 19 Jan 2023 22:17:19 -0600 Subject: [PATCH 1/2] Add anchor/types to tsconfig --- tsconfig.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 4bdc004..a8d4c3b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,9 +6,13 @@ "outDir": "./lib", "strict": true, "esModuleInterop": true, - "resolveJsonModule": true + "resolveJsonModule": true, + "typeRoots": [ + "./src/anchor/types", + "./node_modules/@types/" + ] }, "include": ["src"], - "exclude": ["node_modules", "**/__tests__/*"], - + "exclude": ["node_modules", "**/__tests__/*"] + } \ No newline at end of file From 1cfb2ad0535ba7d54d17aa9c8a646cec922462b4 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Alapont Date: Thu, 19 Jan 2023 22:18:08 -0600 Subject: [PATCH 2/2] Format --- tsconfig.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index a8d4c3b..2987839 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,12 +7,8 @@ "strict": true, "esModuleInterop": true, "resolveJsonModule": true, - "typeRoots": [ - "./src/anchor/types", - "./node_modules/@types/" - ] + "typeRoots": ["./src/anchor/types", "./node_modules/@types/"] }, "include": ["src"], "exclude": ["node_modules", "**/__tests__/*"] - -} \ No newline at end of file +}