fix: Allow userId option to return undefined

This commit is contained in:
Aaron
2026-02-21 14:19:43 -06:00
parent 3b154508bd
commit 636cf1f841
@@ -35,7 +35,7 @@ export interface AnalyticsConfig {
/**
* Configure how the user Id is persisted. Defaults to using `browser.storage.local`.
*/
userId?: AnalyticsStorageItem<string>;
userId?: AnalyticsStorageItem<string | undefined>;
/**
* Configure how user properties are persisted. Defaults to using `browser.storage.local`.
*/