Skip to content

Re-export CHROME_STORAGE_TYPE as value instead of type#63

Merged
MacFJA merged 1 commit intoMacFJA:mainfrom
ckiee:fix-chrome-storage-reexport
Jun 29, 2025
Merged

Re-export CHROME_STORAGE_TYPE as value instead of type#63
MacFJA merged 1 commit intoMacFJA:mainfrom
ckiee:fix-chrome-storage-reexport

Conversation

@ckiee
Copy link
Contributor

@ckiee ckiee commented Jun 28, 2025

Hi! I've been using your library since 2024, it's very nice!

Today I went to build a small web extension with it (targeting Firefox primarily, where chrome is supported but it has also been redefined under the generic browser API) and couldn't import CHROME_STORAGE_TYPE as a value to use it like in the docs example because the enum was exported as a type. This fixes that.

Thank you for sharing the code!

@MacFJA
Copy link
Owner

MacFJA commented Jun 29, 2025

Thanks for the fix!

The CI is failing, but it's not your code.

@MacFJA MacFJA merged commit 3136b68 into MacFJA:main Jun 29, 2025
1 of 2 checks passed
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.

2 participants