Skip to content

Commit e90aff5

Browse files
committed
fix: change pro provider enum for string union
1 parent 68ca747 commit e90aff5

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)