From febaa818f1de6a2a99b912c804a6d7bd208bc27a Mon Sep 17 00:00:00 2001
From: lootboxer <>
Date: Tue, 1 Jul 2025 03:13:12 +0300
Subject: [PATCH] added src to tsconfig.json
---
index.html | 3 +--
package.json | 2 +-
public/vite.svg | 1 -
src/components/ui/Input/Input.tsx | 2 +-
src/components/ui/NumberRageInput/NumberRageInput.tsx | 4 ++--
tsconfig.json | 9 +++++++++
6 files changed, 14 insertions(+), 7 deletions(-)
delete mode 100644 public/vite.svg
diff --git a/index.html b/index.html
index e4b78ea..cb4edc7 100644
--- a/index.html
+++ b/index.html
@@ -2,9 +2,8 @@
-
- Vite + React + TS
+ Экскурсии
diff --git a/package.json b/package.json
index 34338df..e0cb73d 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
- "build": "tsc -b && vite build",
+ "build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
},
diff --git a/public/vite.svg b/public/vite.svg
deleted file mode 100644
index e7b8dfb..0000000
--- a/public/vite.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/components/ui/Input/Input.tsx b/src/components/ui/Input/Input.tsx
index a3ecdfd..8417997 100644
--- a/src/components/ui/Input/Input.tsx
+++ b/src/components/ui/Input/Input.tsx
@@ -7,7 +7,7 @@ interface InputProps {
placeholder?: string;
label?: string;
customClass?: string;
- mask?: string | typeof Number | RegExp
+ mask?: string | RegExp | any;
}
export default function Input({ value, onChange, placeholder, label, customClass, mask }: InputProps) {
diff --git a/src/components/ui/NumberRageInput/NumberRageInput.tsx b/src/components/ui/NumberRageInput/NumberRageInput.tsx
index c3f7690..34209b1 100644
--- a/src/components/ui/NumberRageInput/NumberRageInput.tsx
+++ b/src/components/ui/NumberRageInput/NumberRageInput.tsx
@@ -56,7 +56,7 @@ function NumberRangeInput({