Lusito / webextension-polyfill-ts

This is a TypeScript ready "wrapper" for the WebExtension browser API Polyfill by Mozilla
zlib License
393 stars 22 forks source link

fix #78: getMessage string substitutions #79

Closed arty-name closed 2 years ago

arty-name commented 2 years ago

Fixes #78 by declaring the type of getMessage substitutions parameter as string or array of strings

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/getMessage#parameters https://developer.chrome.com/docs/extensions/reference/i18n/#method-getMessage

Lusito commented 2 years ago

Looks good. Thanks!

arty-name commented 2 years ago

Thank you!