Skip to content

Conversation

@PatrykKuniczak
Copy link
Contributor

@PatrykKuniczak PatrykKuniczak commented Dec 25, 2025

Overview

  1. Cleaned everything a little
  2. Make more types, for avoid any and @ts-expect-error and @ts-ignore
  3. Fixed some typos
  4. Replaced deprecated methods/props to newer options
  5. Make string literals and numbers UPPER_CASE like real const
  6. Remove unnecessary await, before return
  7. Remove unused methods

I'm also added some questions to maintainers under TODO: keys (let's response, please 😄)

PS: I can make it a little better, by configure more restrictions for eslint and prettier(e.g brackets near to ifs, func and etc.) in other PR and reduce amount of tests, because IMO some of those isn't necessary(e.g this which TS preventing by itself) and we can remove it.

Tell me if you overall, interested for more my influence on this project 👀

Manual Testing

Run tests and pnpm test and pnpm dev and check if everything's alright :)

@netlify
Copy link

netlify bot commented Dec 25, 2025

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit ff88495
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6952e090a54b250008a8ea97
😎 Deploy Preview https://deploy-preview-2022--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PatrykKuniczak PatrykKuniczak force-pushed the fix/remove-unnecessary-code-and-add-missing-types branch 2 times, most recently from 6ab2337 to f3ccc32 Compare December 29, 2025 16:45
…ix `Unresolved variable or type HtmlPublicPath` error
…x possibly undefined document.head of wxtPluginLoader.ts
…tatement and change deprecated `exists` to `pathExists`
…CASE like real const and remove unnecessary `exists` func and use `pathExists` instead
…ssary `await`, make closeBrowser function of ExtensionRunner optional
@PatrykKuniczak PatrykKuniczak force-pushed the fix/remove-unnecessary-code-and-add-missing-types branch from f1070ec to ff88495 Compare December 29, 2025 20:11
@PatrykKuniczak PatrykKuniczak marked this pull request as ready for review December 29, 2025 20:12
@PatrykKuniczak PatrykKuniczak changed the title Fix/remove unnecessary code and add missing types fix(packages): Remove unnecessary code and add types for untyped code and prettify everything Dec 29, 2025
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.

1 participant