Skip to content

Commit 763c8a7

Browse files
authored
Merge pull request #44 from session-foundation/fix/remove_pro_enum
fix: change pro provider enum for string union
2 parents 68ca747 + e90aff5 commit 763c8a7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

types/pro/pro.d.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,7 @@ declare module 'libsession_util_nodejs' {
4747
// errors: Array<string>;
4848
// };
4949

50-
// Must match session-desktop
51-
export enum ProOriginatingPlatform {
52-
Nil = 'Nil',
53-
GooglePlayStore = 'Google',
54-
iOSAppStore = 'iOS',
55-
}
50+
export type ProOriginatingPlatform = 'Nil' | 'Google' | 'iOS';
5651

5752
export type ProBackendProviderConstantType = {
5853
device: string;

0 commit comments

Comments
 (0)