--
This commit is contained in:
parent
1169a6644c
commit
d05e32d6d0
@ -7,7 +7,7 @@
|
|||||||
"build": "craco build",
|
"build": "craco build",
|
||||||
"build:check": "tsc --noEmit && craco build",
|
"build:check": "tsc --noEmit && craco build",
|
||||||
"type-check": "tsc --noEmit",
|
"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",
|
"pre-commit": "npm run type-check",
|
||||||
"test": "craco test --env=node --transformIgnorePatterns \"node_modules/(?!@frontend)/\"",
|
"test": "craco test --env=node --transformIgnorePatterns \"node_modules/(?!@frontend)/\"",
|
||||||
"test:cart": "vitest ./src/utils/calcCart",
|
"test:cart": "vitest ./src/utils/calcCart",
|
||||||
|
@ -12,7 +12,7 @@ import type {
|
|||||||
type RecoverResponse = {
|
type RecoverResponse = {
|
||||||
message: string;
|
message: string;
|
||||||
};
|
};
|
||||||
|
//tsignore
|
||||||
const API_URL = `${process.env.REACT_APP_DOMAIN}/auth`;
|
const API_URL = `${process.env.REACT_APP_DOMAIN}/auth`;
|
||||||
|
|
||||||
export const register = async (
|
export const register = async (
|
||||||
|
@ -16,14 +16,7 @@
|
|||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx"
|
||||||
"noImplicitAny": true,
|
|
||||||
"noImplicitReturns": true,
|
|
||||||
"noImplicitThis": true,
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"noUnusedParameters": true,
|
|
||||||
"exactOptionalPropertyTypes": true,
|
|
||||||
"noPropertyAccessFromIndexSignature": true
|
|
||||||
},
|
},
|
||||||
"include": ["src", "**/*.ts"]
|
"include": ["src", "**/*.ts"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user