From f25f43f5241db8172f31908c66753b8b4031aecd Mon Sep 17 00:00:00 2001 From: Pierre Beitz Date: Fri, 22 Feb 2019 23:43:56 +0100 Subject: [PATCH] fix(types): add skipLibCheck bc conflicting cypress- and jest-types we now trust .d.ts-files blindly, mostly because the mocha shipped by cypress conflicts with jest otherwise. an alternative approach would be to whitelist @types per `"types": ["jest", "graphql", ...],`, but as this introduces a high chance of forgetting to add new libs here, we stick with skipLibCheck. ------------------- to learn more, you might want to look here: https://github.com/cypress-io/cypress/issues/1087 --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 54a7053c45..44ab231147 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,6 +24,7 @@ "experimentalDecorators": true, "emitDecoratorMetadata": true, "baseUrl": "./", + "skipLibCheck": true, "paths": { "@dcos/http-service": ["src/typings/dcos__http-service"], "*": ["*", "packages/*", "src/typings/*"],