@@ -9,7 +9,7 @@ export const BrowserSource = {
99 Browser : 'browser' ,
1010} as const
1111
12- export type BrowserSource = typeof BrowserSource [ keyof typeof BrowserSource ]
12+ export type BrowserSource = ( typeof BrowserSource ) [ keyof typeof BrowserSource ]
1313
1414export const RecordType : {
1515 FullSnapshot : SessionReplay . BrowserFullSnapshotRecord [ 'type' ]
@@ -31,7 +31,7 @@ export const RecordType: {
3131 Change : 12 ,
3232} as const
3333
34- export type RecordType = typeof RecordType [ keyof typeof RecordType ]
34+ export type RecordType = ( typeof RecordType ) [ keyof typeof RecordType ]
3535
3636export const NodeType : {
3737 Document : SessionReplay . DocumentNode [ 'type' ]
@@ -49,7 +49,7 @@ export const NodeType: {
4949 DocumentFragment : 11 ,
5050} as const
5151
52- export type NodeType = typeof NodeType [ keyof typeof NodeType ]
52+ export type NodeType = ( typeof NodeType ) [ keyof typeof NodeType ]
5353
5454export const IncrementalSource : {
5555 Mutation : SessionReplay . BrowserMutationData [ 'source' ]
@@ -76,7 +76,7 @@ export const IncrementalSource: {
7676 // Font : 10,
7777} as const
7878
79- export type IncrementalSource = typeof IncrementalSource [ keyof typeof IncrementalSource ]
79+ export type IncrementalSource = ( typeof IncrementalSource ) [ keyof typeof IncrementalSource ]
8080
8181export const MouseInteractionType = {
8282 MouseUp : 0 ,
@@ -90,14 +90,14 @@ export const MouseInteractionType = {
9090 TouchEnd : 9 ,
9191} as const
9292
93- export type MouseInteractionType = typeof MouseInteractionType [ keyof typeof MouseInteractionType ]
93+ export type MouseInteractionType = ( typeof MouseInteractionType ) [ keyof typeof MouseInteractionType ]
9494
9595export const MediaInteractionType = {
9696 Play : 0 ,
9797 Pause : 1 ,
9898} as const
9999
100- export type MediaInteractionType = typeof MediaInteractionType [ keyof typeof MediaInteractionType ]
100+ export type MediaInteractionType = ( typeof MediaInteractionType ) [ keyof typeof MediaInteractionType ]
101101
102102// ChangeTypeId evaluates to Id if [Id, ...Data[]] is a valid variant of Change;
103103// otherwise, it triggers a compile-time error.
@@ -129,7 +129,7 @@ export const ChangeType: {
129129 VisualViewport : 10 ,
130130} as const
131131
132- export type ChangeType = typeof ChangeType [ keyof typeof ChangeType ]
132+ export type ChangeType = ( typeof ChangeType ) [ keyof typeof ChangeType ]
133133
134134export const PlaybackState : {
135135 Playing : SessionReplay . PlaybackStatePlaying
@@ -139,4 +139,4 @@ export const PlaybackState: {
139139 Paused : 1 ,
140140} as const
141141
142- export type PlaybackState = typeof PlaybackState [ keyof typeof PlaybackState ]
142+ export type PlaybackState = ( typeof PlaybackState ) [ keyof typeof PlaybackState ]
0 commit comments