Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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 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 Show resolved Hide resolved
src/index.ts 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.