Hints on getting ace-linters to work in a Vite/React/TypeScript application #155
jasonterando
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here are some "tricks" I figured out in to get ace-linters to work in my Vite/React/TypeScript application (hosted in Tauri). Maybe these will help somebody else...
Add
"skipLibCheck": trueto your tsconfig.json if you are getting errors like the following when transpiling your app: "Property '[Symbol.iterator]' in type 'LinkedMap<K, V>' is not assignable to the same property in base type 'Map<K, V>'. Type '() => IterableIterator<[K, V]>' is not assignable to type '() => MapIterator<[K, V]>'.".In your vite.config.ts file, add entries for ace-linters, including the services you will be using, to keep the application from optimizing and reloading when starting. For example:
Beta Was this translation helpful? Give feedback.
All reactions