From 521b2abfcdc84c319db86f6de3f9b3d3d3ad7c77 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Sat, 19 Mar 2022 10:05:20 +0900 Subject: [PATCH] update typescript and use workspace tsc version for vscode --- .vscode/settings.json | 3 +++ package.json | 2 +- tsconfig.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..55712c1 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "typescript.tsdk": "node_modules/typescript/lib" +} \ No newline at end of file diff --git a/package.json b/package.json index 15a7e19..d8f0991 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "jest": "^26.6.3", "metro-react-native-babel-preset": "^0.64.0", "react-test-renderer": "17.0.1", - "typescript": "^3.8.3", + "typescript": "^4.6.2", "uri-scheme": "^1.0.91" }, "resolutions": { diff --git a/tsconfig.json b/tsconfig.json index 18467ff..b361771 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -59,5 +59,5 @@ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ "resolveJsonModule": true }, - "exclude": ["node_modules", "babel.config.js", "metro.config.js", "jest.config.js", "submodules"] + "exclude": ["node_modules", "babel.config.js", "metro.config.js", "jest.config.js", "submodules", "ndk"] } diff --git a/yarn.lock b/yarn.lock index 8460abf..351bcb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7144,10 +7144,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^3.8.3: - version "3.9.10" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" - integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== +typescript@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4" + integrity sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg== ua-parser-js@^0.7.30: version "0.7.31"