From 3525b210086ccff5be00c943f3760cedc11b66a7 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 24 May 2022 00:18:30 -0300 Subject: [PATCH] Upgrading pnpm led to compilation errors Fist: * The inferred type of 'PaymentStatus' cannot be named without a reference to '.pnpm/@types+react@17.0.38.... * The inferred type of 'HistoryRow' cannot be named without a reference to '.pnpm/@types+react@17.0.38/node_modules/@types/react'. This is likely not portable. A type annotation is necessary. and more like that... Second: some problems trying to check type inside libs more related: https://github.com/microsoft/TypeScript/issues/42873 --- packages/taler-wallet-webextension/tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/taler-wallet-webextension/tsconfig.json b/packages/taler-wallet-webextension/tsconfig.json index 482282871..9d5f05c5e 100644 --- a/packages/taler-wallet-webextension/tsconfig.json +++ b/packages/taler-wallet-webextension/tsconfig.json @@ -11,6 +11,8 @@ "moduleResolution": "Node", "module": "ESNext", "target": "ES6", + "skipLibCheck": true, + "preserveSymlinks": true, "noImplicitAny": true, "outDir": "lib", "noEmitOnError": true,