From c179f9768106011702d35e14091bbbc139f344bb Mon Sep 17 00:00:00 2001 From: xiaozhenliugg Date: Mon, 30 Sep 2019 16:00:57 -0700 Subject: [PATCH] add dom to tsconfig for browser check --- templates/typescript_gapic/tsconfig.json.njk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/typescript_gapic/tsconfig.json.njk b/templates/typescript_gapic/tsconfig.json.njk index a7647fcc4..2d9b83e3f 100644 --- a/templates/typescript_gapic/tsconfig.json.njk +++ b/templates/typescript_gapic/tsconfig.json.njk @@ -3,7 +3,8 @@ "compilerOptions": { "rootDir": ".", "outDir": "build", - "resolveJsonModule": true + "resolveJsonModule": true, + "lib": ["es2016", "dom"] }, "include": [ "src/*.ts",