Sep 27, 2022, 5:55:57 AMSep 27
to Chromium Extensions, wOxxOm, Simeon Vincent, Chromium Extensions, Milan Konir
Yeah, it would be really nice if this got a little bit of attention.
We have recently switched from the community `@types/chrome` to `chrome-types` for a couple of reason:
- The types are more precise than the community ones
- It contains all MV3 promise APIs
- The possibility to switch to MV3 only typings once we finish migration to help us tie up any loose ends compile time
The only outstanding issue we have is this https://github.com/GoogleChrome/chrome-types/pull/38
, without it the removeListener signature is wrong for some events.
We are now fixing the problem via patch-package to avoid casting, but it would be nice to have it eventually merged.