-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix (most) typescript errors + use Vite #90
base: master
Are you sure you want to change the base?
Conversation
"vite": "^5.4.0" | ||
}, | ||
"dependencies": { | ||
"@dhdbstjr98/gif.js": "^1.0.2" |
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.
removes the need to manually download the gif.js
files (gif.js, gif.map, gif.worker.js...
)
serviceworker.ts
Outdated
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.
Vite has built in hot reloading
*/ | ||
// interface HTMLElement { class : string } | ||
|
||
export type Tag<T extends HTMLElement = HTMLElement> = T & { |
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.
use generic functions to fix the massive any
problem. This solution is almost perfect but there are issues with some errors in some places
do you want to use Vite or should I revert these changes and go back?
this has a major bug and does not work. I am unable to change any settings and they are not visible.