Skip to content

Minor update for better compatibility with typescript project#11

Open
topkat wants to merge 3 commits into
vladocar:masterfrom
topkat:master
Open

Minor update for better compatibility with typescript project#11
topkat wants to merge 3 commits into
vladocar:masterfrom
topkat:master

Conversation

@topkat

@topkat topkat commented Apr 3, 2022

Copy link
Copy Markdown

Hi, thank for such a great lib.

While I imported it in my typescript project, the IDE was complaining about type issues. The code I have modified make the IDE understand more the lib. I just followed standard practices.

topkat added 2 commits April 3, 2022 20:28
I have just followed some standard and good practice that make the code more understandable by vscode or typescript for example
Comment thread src/femtoJS.js Outdated
: sel[0].insertAdjacentElement('afterend', j))

return this
return $

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ is the global constructor, not this specific instance

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed ;)

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