diff --git a/.eslintrc.json b/.eslintrc.json index 285956c..07fff6b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -18,6 +18,7 @@ "extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"], "rules": { "@typescript-eslint/consistent-type-imports": "warn", - "@typescript-eslint/ban-ts-comment": "warn" + "@typescript-eslint/ban-ts-comment": "warn", + "@typescript-eslint/no-unnecessary-type-assertion": "warn" } } diff --git a/src/env.mjs b/src/env.mjs index 773a7c3..c5b8589 100644 --- a/src/env.mjs +++ b/src/env.mjs @@ -39,6 +39,7 @@ const processEnv = { // -------------------------- const merged = server.merge(client); + /** @type z.infer * @ts-ignore - can't type this properly in jsdoc */ let env = process.env;