feat: remove bugsnag (#931)

This commit is contained in:
Mo
2022-03-15 13:53:29 -05:00
committed by GitHub
parent bd6a883679
commit bcfb22fef6
11 changed files with 3 additions and 292 deletions

View File

@@ -1,16 +1,14 @@
export enum StorageKey {
DisableErrorReporting = 'DisableErrorReporting',
AnonymousUserId = 'AnonymousUserId',
ShowBetaWarning = 'ShowBetaWarning',
ShowNoAccountWarning = 'ShowNoAccountWarning',
}
export type StorageValue = {
[StorageKey.DisableErrorReporting]: boolean;
[StorageKey.AnonymousUserId]: string;
[StorageKey.ShowBetaWarning]: boolean;
[StorageKey.ShowNoAccountWarning]: boolean;
}
};
export const storage = {
get<K extends StorageKey>(key: K): StorageValue[K] | null {