From d7db65a9b3b8d941c6934597862b8010a1ccac64 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 2 Feb 2024 22:57:27 -0500 Subject: Chrome types update (#614) * Update chrome types * Fix issues * Update manifest author --- types/dev/manifest.d.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'types/dev') diff --git a/types/dev/manifest.d.ts b/types/dev/manifest.d.ts index ef2c831c..f07b2355 100644 --- a/types/dev/manifest.d.ts +++ b/types/dev/manifest.d.ts @@ -15,7 +15,15 @@ * along with this program. If not, see . */ -export type Manifest = chrome.runtime.Manifest; +/** + * These overrides provide compatibility between the default chrome types and the minor + * differences that other browsers such as Firefox use. + */ +export type ManifestOverrides = { + author?: chrome.runtime.Manifest['author'] | string; +}; + +export type Manifest = Omit & ManifestOverrides; export type ManifestConfig = { manifest: Manifest; -- cgit v1.2.3