Scheduling infrastructure for absolutely everyone.
Added @types/react-phone-number-input (#983)
Alex van Andel12f6065d8494
diff --git a/components/ui/form/PhoneInput.tsx b/components/ui/form/PhoneInput.tsxindex d88f28d4024..d3e2dad2e51 100644--- a/components/ui/form/PhoneInput.tsx+++ b/components/ui/form/PhoneInput.tsx@@ -1,10 +1,10 @@import React from "react";-import { default as BasePhoneInput } from "react-phone-number-input";+import { default as BasePhoneInput, PhoneInputProps } from "react-phone-number-input";import "react-phone-number-input/style.css";import classNames from "@lib/classNames";-export const PhoneInput = (props: any /* FIXME */) => (+export const PhoneInput = (props: PhoneInputProps) => (<BasePhoneInput{...props}className={classNames(diff --git a/package.json b/package.jsonindex f54af3edb5d..4c965bab58b 100644--- a/package.json+++ b/package.json@@ -107,6 +107,7 @@"@types/nodemailer": "^6.4.4","@types/qrcode": "^1.4.1","@types/react": "^17.0.18",+ "@types/react-phone-number-input": "^3.0.13","@types/react-select": "^4.0.17","@types/uuid": "8.3.1","@typescript-eslint/eslint-plugin": "^4.30.0",diff --git a/yarn.lock b/yarn.lockindex 1a8df00e1d1..e3910ed2950 100644--- a/yarn.lock+++ b/yarn.lock@@ -1819,6 +1819,13 @@dependencies:"@types/react" "*"+"@types/react-phone-number-input@^3.0.13":+ version "3.0.13"+ resolved "https://registry.yarnpkg.com/@types/react-phone-number-input/-/react-phone-number-input-3.0.13.tgz#4eb7dcd278dcf9eb2a8d2ce2cb304657cbf1b4e5"+ integrity sha512-27k7AvLbzCjpuRORFhehFdRHVan1q6RhSTV7dFiXwZ2ojnS/JMx77wd9OyAU464oN0GIlkfhc0njGzL97/xNcw==+ dependencies:+ "@types/react" "*"+"@types/react-select@^4.0.17":version "4.0.18"resolved "https://registry.yarnpkg.com/@types/react-select/-/react-select-4.0.18.tgz#f907f406411afa862217a9d86c54a301367a35c1"