davidfgcorreia commented on PR #51146:
URL: https://github.com/apache/airflow/pull/51146#issuecomment-3000385907

   Now I’m hitting another problem when the pre-commit runs. It seems to fail 
during the TypeScript check with the following error:
   
   src/pages/Error.tsx:45:29 - error TS2339: Property 'env' does not exist on 
type 'ImportMeta'.
   
   45   const isDev = import.meta.env.DEV;
                                  ~~~
   This happens even though I’m not touching that file. Looks like the internal 
ts_compile_lint_ui.py script compiles a temporary tsconfig.json, and it might 
not be picking up the proper Vite type declarations?
   
   Let me know if this is something I should fix on my end or if the pre-commit 
script needs an adjustment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to