Repository navigation
Conversation
|
Instead of many tiny PRs let’s reuse this one for any TS-related changes this week |
fregante
left a comment
There was a problem hiding this comment.
npm i intervalometer@latest tiny-version-compare@latest shorten-repo-url@latest| export = compareVersions | ||
| } | ||
|
|
||
| // TODO: Move types to https://github.com/sindresorhus/linkify-urls repository. |
There was a problem hiding this comment.
This TODO should be updated to point to #1936 (comment)
|
This should be good to go. TODOs that remain have had comments updated. |
|
Any other TODOs across the extension? There are a few more type-related comments I think |
|
Ahh, yeah. True that. I had only globals.d.ts on the brain... 🙃 |
|
I'm surprised to see that the todos are actually already gone. The last one would be this: // TODO: type target asap and drop `as Element`
const observer = new MutationObserver(([{target}]) => {
if (!select.exists('.js-details-dialog-spinner', target as Element)) {
improveShortcutHelp(target as Element);
fixKeys(target as Element);
observer.disconnect();
}
});Is it possible without adding |
|
I was working on the last todo last night. No success yet but basically the I'll take another stab at it tonight and report back. |
|
Are you trying to change the type of I think a shortcut would be to add |
17cc243 to
56353c9
Compare
|
Alright, a little lunchtime break/commit and I think this is good to go @bfred-it. |
|
Excellent! |
|
I guess the last step would be to also convert the |
|
Happy to convert it if you want. I've done it a bunch of times before. |
✌️ |
@bfred-it, just some more post #1735 TODO cleanup. I removed the tiny-version-compare types. The package needs to be bumped in the project, but just waiting for fregante/tiny-version-compare#7 to be merged before going ahead.