diff --git a/packages/components/package.json b/packages/components/package.json index 735b3d16..dc757468 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -54,7 +54,7 @@ "tailwindcss": "^3.1.8", "ts-loader": "^9.3.0", "tsconfig-paths-webpack-plugin": "^4.0.0", - "typescript": "^4.7.4", + "typescript": "^4.8.2", "web-vitals": "^3.0.0", "webpack": "^5.74.0", "webpack-cli": "^4.10.0", diff --git a/packages/components/src/components/ui/Checkbox.tsx b/packages/components/src/components/ui/Checkbox.tsx index 36ab68d9..55c616ec 100644 --- a/packages/components/src/components/ui/Checkbox.tsx +++ b/packages/components/src/components/ui/Checkbox.tsx @@ -1,8 +1,8 @@ import clsx from "clsx"; import React from "react"; -import { Path, UseFormRegister } from "react-hook-form"; +import { Path, UseFormRegister, FieldValues } from "react-hook-form"; -export function Checkbox({ +export function Checkbox({ name, label, register, diff --git a/packages/components/src/components/ui/InputItem.tsx b/packages/components/src/components/ui/InputItem.tsx index 5d0ca613..f2167538 100644 --- a/packages/components/src/components/ui/InputItem.tsx +++ b/packages/components/src/components/ui/InputItem.tsx @@ -1,7 +1,7 @@ import React from "react"; -import { Path, UseFormRegister } from "react-hook-form"; +import { Path, UseFormRegister, FieldValues } from "react-hook-form"; -export function InputItem({ +export function InputItem({ name, label, type, diff --git a/packages/squiggle-lang/package.json b/packages/squiggle-lang/package.json index 6229738e..4d8c9224 100644 --- a/packages/squiggle-lang/package.json +++ b/packages/squiggle-lang/package.json @@ -68,7 +68,7 @@ "ts-jest": "^27.1.4", "ts-loader": "^9.3.0", "ts-node": "^10.9.1", - "typescript": "^4.7.4", + "typescript": "^4.8.2", "webpack": "^5.74.0", "webpack-cli": "^4.10.0" }, diff --git a/packages/vscode-ext/package.json b/packages/vscode-ext/package.json index 640b371c..efa85f00 100644 --- a/packages/vscode-ext/package.json +++ b/packages/vscode-ext/package.json @@ -131,7 +131,7 @@ "@types/vscode": "^1.70.0", "glob": "^8.0.3", "js-yaml": "^4.1.0", - "typescript": "^4.7.4", + "typescript": "^4.8.2", "vsce-yarn-patch": "^1.66.2" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index a658b352..0699908e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17158,7 +17158,7 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^4.7.4: +typescript@^4.8.2: version "4.8.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.2.tgz#e3b33d5ccfb5914e4eeab6699cf208adee3fd790" integrity sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw== @@ -18807,7 +18807,7 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^4.0.0: +yallist@*, yallist@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==