From a29cdd39247c0f6398844297bc65fae9df21bfe6 Mon Sep 17 00:00:00 2001 From: Blazej Kustra Date: Wed, 7 Jun 2023 15:24:22 +0200 Subject: [PATCH] Add DOM in tsconfig's lib option to enable usage of 'document' for web --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 3c12cd577332..3afa44515311 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "module": "commonjs", "types": ["react-native", "jest"], "lib": [ + "DOM", "es2019", "es2020.bigint", "es2020.date",