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 5 days ago c7215bd8104bddff6ccb49e8e753cf0132aee0fe
Parents: 8025086
1 file(s) changed
  • api/tsconfig.build.json +3 -1
api/tsconfig.build.json
@@ -1,7 +1,9 @@
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"]