diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be6098ad5..debaac9da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,6 @@ jobs: - name: type check run: | - npm i -g typescript yarn build-types [ $(git diff types.d.ts | wc -l) -gt 0 ] && echo 'Diff exists in types.d.ts. Please change jsdoc.' && exit 1 tsc --noEmit types.d.ts diff --git a/package.json b/package.json index ed58a4b62..7c5e047ed 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "lodash.template": ">=4.5.0", "prettier": "^3.3.3", "tsd-jsdoc": "^2.5.0", + "typescript": "^5.6.3", "webpack": "^5.96.1", "webpack-cli": "^5.1.4", "yarpm": "^1.2.0" diff --git a/yarn.lock b/yarn.lock index bcc2831d9..7638aac91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5162,6 +5162,11 @@ typescript@^3.2.1: resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== +typescript@^5.6.3: + version "5.6.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" + integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw== + uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"