diff --git a/client/src/ui/atoms/form/limited-input.tsx b/client/src/ui/atoms/form/limited-input.tsx index 34e2929b0333..ef60b89ee6a7 100644 --- a/client/src/ui/atoms/form/limited-input.tsx +++ b/client/src/ui/atoms/form/limited-input.tsx @@ -2,7 +2,7 @@ import { ChangeEventHandler } from "react"; import { charLength } from "../../../utils"; interface Props { - children: (props: ChildProps) => void; + children: (props: ChildProps) => React.ReactNode; value: string; limit: number; } diff --git a/package.json b/package.json index 95ac2b4b4237..0b324cc2040f 100644 --- a/package.json +++ b/package.json @@ -264,7 +264,7 @@ "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", - "typescript": "^5.6.3", + "typescript": "^5.7.2", "typescript-eslint": "^8.17.0", "webpack": "^5.96.1", "webpack-bundle-analyzer": "^4.10.2", diff --git a/yarn.lock b/yarn.lock index 818db5cda314..ee3978e34d5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14800,10 +14800,10 @@ typescript-eslint@^8.17.0: "@typescript-eslint/parser" "8.17.0" "@typescript-eslint/utils" "8.17.0" -typescript@^5.6.3: - version "5.6.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" - integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw== +typescript@^5.7.2: + version "5.7.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6" + integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg== uint8array-extras@^1.1.0, uint8array-extras@^1.3.0: version "1.4.0"