From 3189d783ebbd380152c77d020b0d30dd572bbbb6 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Sun, 11 Apr 2021 11:04:15 +0700 Subject: [PATCH] Include DOM lib in types (#11) --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 7558b85..42955cc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,8 @@ "target": "ES2019", // Node.js 12 "lib": [ "ES2019", - "ES2020.String" + "ES2020.String", + "DOM" ], "moduleResolution": "node", "allowSyntheticDefaultImports": true, // To provide backwards compatibility, Node.js allows you to import most CommonJS packages with a default import. This flag tells TypeScript that it's okay to use import on CommonJS modules.