Commit graph

2 commits

Author SHA1 Message Date
Matt Sykes
90bc0a3684 Vue module augmentation and Convert main.js to main.ts
1. Vue module augmentation (src/shims-vue.d.ts)
*Added ComponentCustomProperties so this.$store is typed as Store<RootState> in components.
*Extended Window for $ and jQuery so the jQuery global assignment type-checks.
2. Convert main.js to main.ts
*Renamed main.js to main.ts.
*Removed the vue.config.js entry override so the Vue CLI TypeScript plugin uses main.ts.
*Updated jest.config.js to exclude main.ts from coverage.
*Adjusted the error handler to use unknown for err and vm to match Vue’s types.
*Added as unknown to the jQuery require for type safety.
2026-03-09 14:19:18 -04:00
Matt Sykes
90f5022787 Cursor converted store/index.js to typescript file, compiles successfuly 2026-03-09 13:55:11 -04:00