Skip to content
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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Koppeks
Copy link

@Koppeks Koppeks commented Sep 3, 2024

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

src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
@Koppeks
Copy link
Author

Koppeks commented Sep 4, 2024

I addressed all the reviews that were pending, let me know if I miss something or you need more changes

Copy link

@dependentmadani dependentmadani left a 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

src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
@dependentmadani
Copy link

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> {

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{

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants