-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tsconfig with last tsconfig/base and node20 era #370
Conversation
interface App { | ||
ports: Ports; | ||
} | ||
declare module '*.elm' { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Needed since "type": "module",
- https://discourse.elm-lang.org/t/how-to-use-elm-in-tsx-file/4556/3
Visit the preview URL for this PR (updated for commit d4a6785): https://mobu-elm--pr370-update-tsconfig-ensmxqc4.web.app (expires Thu, 20 Jul 2023 04:59:57 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c3bd1c7e660dfd047316b813d1455fa3121557d6 |
@@ -1,5 +1,5 @@ | |||
import { defineConfig, loadEnv } from 'vite'; | |||
import elmPlugin from 'vite-plugin-elm'; | |||
import { plugin } from 'vite-plugin-elm'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Needed since "type": "module",
"compilerOptions": { | ||
"lib": ["ESNext", "DOM"], | ||
"lib": ["dom", "dom.iterable"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Passed transpile without this change, but updated with referring https://github.com/tsconfig/bases/blob/014e8927b7155640f65a7492fb4bb09f5c49f531/bases/create-react-app.json#L7
Resolves #367