From 508784b4006baa9d9a4467cb3ee85feea9c18fbe Mon Sep 17 00:00:00 2001 From: Yuya Tanaka Date: Wed, 15 Feb 2017 05:58:23 +0900 Subject: [PATCH] Fix 'Must specify "lib"' error with tsconfig.json --- react-facebook-login/tsconfig.json | 4 ++++ react-json-pretty/tsconfig.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/react-facebook-login/tsconfig.json b/react-facebook-login/tsconfig.json index 6803f928e3..e2bcecb743 100644 --- a/react-facebook-login/tsconfig.json +++ b/react-facebook-login/tsconfig.json @@ -1,6 +1,10 @@ { "compilerOptions": { "module": "commonjs", + "lib": [ + "es6", + "dom" + ], "target": "es6", "jsx": "react", "noImplicitAny": true, diff --git a/react-json-pretty/tsconfig.json b/react-json-pretty/tsconfig.json index ddb38d587e..f2456531cf 100644 --- a/react-json-pretty/tsconfig.json +++ b/react-json-pretty/tsconfig.json @@ -1,6 +1,10 @@ { "compilerOptions": { "module": "commonjs", + "lib": [ + "es6", + "dom" + ], "target": "es6", "noImplicitAny": true, "noImplicitThis": true,