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"] }