From d05e32d6d0040fc3a464f069d23cd9a4387e3766 Mon Sep 17 00:00:00 2001 From: Nastya Date: Thu, 17 Jul 2025 15:40:55 +0300 Subject: [PATCH] -- --- package.json | 2 +- src/api/auth.ts | 2 +- tsconfig.json | 9 +-------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index c4d6cf4..22dd7f3 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "craco build", "build:check": "tsc --noEmit && craco build", "type-check": "tsc --noEmit", - "type-check:strict": "tsc --noEmit --strict --noImplicitAny --noImplicitReturns --noImplicitThis --noUnusedLocals --noUnusedParameters", + "type-check:strict": "tsc --noEmit --strict", "pre-commit": "npm run type-check", "test": "craco test --env=node --transformIgnorePatterns \"node_modules/(?!@frontend)/\"", "test:cart": "vitest ./src/utils/calcCart", diff --git a/src/api/auth.ts b/src/api/auth.ts index aaa65d8..9f1069c 100644 --- a/src/api/auth.ts +++ b/src/api/auth.ts @@ -12,7 +12,7 @@ import type { type RecoverResponse = { message: string; }; - +//tsignore const API_URL = `${process.env.REACT_APP_DOMAIN}/auth`; export const register = async ( diff --git a/tsconfig.json b/tsconfig.json index 9ad679b..172b4c8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,14 +16,7 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx", - "noImplicitAny": true, - "noImplicitReturns": true, - "noImplicitThis": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "exactOptionalPropertyTypes": true, - "noPropertyAccessFromIndexSignature": true + "jsx": "react-jsx" }, "include": ["src", "**/*.ts"] }