-
Notifications
You must be signed in to change notification settings - Fork 17
Added TypeScript type definitions and various updates #8
Conversation
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.
Taking over for @mastahyeti. :-D
LGTM with some nits.
Added semicolons. This can be removed or we can add some sort of style guide.
Would it make sense to run this through the same linter we use for the main GitHub repo?
@github/web-systems-reviewers Any concerns about merging this? |
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 looks like a good start. Happy to see this merged from a @github/web-systems perspective 👍
Okay, I think this is ready now. Let me know if you think we should add or change anything else! |
Would it be worth it to convert the JavaScript to TypeScript or are the typings enough? |
I'd be keen to see this converted to TypeScript, this might be good as a follow up PR - let's get this merged first. @lgarron do you have merge capabilities? It might be useful to have @github/web-systems adopt this repo. |
@lgarron - Can you re-approve and help get this pushed over the finish line if it is ready to merge? We should be able to test this pretty easily in prod/lab/etc by adding a new actions secret and verifying it is readable when run. |
I actually need to ping @mastahyeti to see if he is willing to transfer the Alternatively, we could fork into |
As the library already exists unprefixed on npm, we should continue publishing to that name. Let's wait for @mastahyeti to transfer ownership of the npm module to us. |
For the record, I emailed him but haven't heard back yet! Will wait a while before I ping him. |
I haven't heard back from Ben. Should we perhaps go ahead with a fork? |
Let's try one more reach-out to Ben and then decide a week or two after. |
👋 I responded to @lgarron a few weeks ago. I added him to the NPM package and removed myself. |
Looks like Gmail replied from a different email address than I had received the email from. Maybe that caused it to go to spam or something. |
Thanks! I do have access, I just need to add all the other JS folks who should have access before I update! |
I've published this as |
yahoo! thanks everyone for keeping this alive! |
Hi, I just noticed that the dist/index.esm.js code in |
Description
Closes #7.
Took a stab at adding TypeScript type definitions with type definition tests.
Also includes:
.nvmrc
for those who use nvm.I'm not very partial to the other changes, but could be worth investing into.