eletrotupi / tcc/ commit / c7215bd

api: relax compiler options to ignore any & bump lib to fix Object.hasOwn issue

Coming from: src/utils/emotions.ts(17,32): error TS7006: Parameter
'emotion' implicitly has an 'any' type.

By the way, I think it's safe to get back and fix all of this validators
and middleware since we're using zod now
Pedro Lucas Porcellis porcellis@eletrotupi.com · 4 months ago c7215bd8104bddff6ccb49e8e753cf0132aee0fe Browse files
Parents 8025086
Changed files
1
Additions
+3
Deletions
-1
api/tsconfig.build.json
1 1
{
2 2
  "extends": "./tsconfig.json",
3 3
  "compilerOptions": {
4 -
    "ignoreDeprecations": "6.0"
4 +
    "ignoreDeprecations": "6.0",
5 +
    "noImplicitAny": false,
6 +
    "lib": ["ES2022"]
5 7
  },
6 8
  "include": ["src/**/*"],
7 9
  "exclude": ["node_modules", "dist", "tests"]
8 10
}