Closed Malix-Labs closed 4 months ago
Big CRX fan! Came to post the same. Maybe CRX can inherit from @types/chrome
and union/extend those types to include the Firefox and additional fields? That way types stay up to date/accurate.
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/chrome/index.d.ts#L7398-L7400
author?: {
email: string;
} | undefined;
author?: string | undefined
Any updates yet?
Well I guess I will file a pull request today then
Update: This was valid in Manifest V2: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/author
@JoeyDoey:
Maybe CRX can inherit from
@types/chrome
and union/extend those types to include the Firefox and additional fields? That way types stay up to date/accurate.
Yes, that would be the best thing to do
I have opened a feature request about it, see #903
Build tool
Vite
Describe the bug
https://github.com/crxjs/chrome-extension-tools/blob/20faa1590032ef90b4588dea06ca7610a4483248/packages/vite-plugin/src/node/manifest.ts#L43 typing doesn't match its documentation
Severity
annoyance