-
Notifications
You must be signed in to change notification settings - Fork 67
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
Migration of Tool from JavaScript to Typescript #73
base: master
Are you sure you want to change the base?
Migration of Tool from JavaScript to Typescript #73
Conversation
…, remove error throws
…statement to check imageHolder
…d console.log, added proper type for renderSettings return
I addressed all the reviews that were pending, let me know if I miss something or you need more changes |
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.
well done, few modifications needs to be done
Please make sure to not resolve the conversation next time, it is up to the reviewer to resolve it when it is fixed. |
* @returns {Array} | ||
*/ | ||
renderSettings() { | ||
renderSettings(): Array<TuneSetting> { |
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.
this member function needs jsdocs
_make(tagName, classNames = null, attributes = {}) { | ||
|
||
|
||
_make(tagName: string, classNames?: string[] | string, attributes: object = {}): HTMLElement | HTMLImageElement{ |
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.
can you find a way to reduce the length of this line, so it can be simple to read?
This pull request migrates the tool from JavaScript to TypeScript, enhancing static type-checking, improved maintainability, and better developer tooling support.
The migration includes type definitions, interface creation, and refactoring to ensure type safety across the code.
Issue #72