From f6fabd61b823e35586b16cd58cb989599c7f79a6 Mon Sep 17 00:00:00 2001 From: anotherminh Date: Wed, 1 May 2024 12:36:24 -0400 Subject: [PATCH] pre-commit --- src/enums/browserLanguage.ts | 2 +- src/enums/consentExpiry.ts | 2 +- src/enums/experience.ts | 2 +- src/enums/purpose.ts | 8 ++++---- src/enums/viewState.ts | 12 ++++++------ 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/enums/browserLanguage.ts b/src/enums/browserLanguage.ts index 146e8d4..fb21c42 100644 --- a/src/enums/browserLanguage.ts +++ b/src/enums/browserLanguage.ts @@ -249,4 +249,4 @@ export const BrowserLanguage = makeEnum({ /** Overrides type */ export type BrowserLanguage = - (typeof BrowserLanguage)[keyof typeof BrowserLanguage]; + typeof BrowserLanguage[keyof typeof BrowserLanguage]; diff --git a/src/enums/consentExpiry.ts b/src/enums/consentExpiry.ts index 3e265b2..5a9c71b 100644 --- a/src/enums/consentExpiry.ts +++ b/src/enums/consentExpiry.ts @@ -13,4 +13,4 @@ export const OnConsentExpiry = makeEnum({ }); /** Override type */ export type OnConsentExpiry = - (typeof OnConsentExpiry)[keyof typeof OnConsentExpiry]; + typeof OnConsentExpiry[keyof typeof OnConsentExpiry]; diff --git a/src/enums/experience.ts b/src/enums/experience.ts index 85d720e..02a9a88 100644 --- a/src/enums/experience.ts +++ b/src/enums/experience.ts @@ -12,4 +12,4 @@ export const RegionsOperator = makeEnum({ }); /** Override type */ export type RegionsOperator = - (typeof RegionsOperator)[keyof typeof RegionsOperator]; + typeof RegionsOperator[keyof typeof RegionsOperator]; diff --git a/src/enums/purpose.ts b/src/enums/purpose.ts index ac8ab60..79e1b8d 100644 --- a/src/enums/purpose.ts +++ b/src/enums/purpose.ts @@ -13,7 +13,7 @@ export const SpecialTrackingPurpose = makeEnum({ /** Type override */ export type SpecialTrackingPurpose = - (typeof SpecialTrackingPurpose)[keyof typeof SpecialTrackingPurpose]; + typeof SpecialTrackingPurpose[keyof typeof SpecialTrackingPurpose]; /** * Possible values for the default consent that can be given to a tracking purpose @@ -30,7 +30,7 @@ export const DefaultConsentValue = makeEnum({ /** Type override */ export type DefaultConsentValue = - (typeof DefaultConsentValue)[keyof typeof DefaultConsentValue]; + typeof DefaultConsentValue[keyof typeof DefaultConsentValue]; /** * Purposes that can be configured @@ -48,7 +48,7 @@ export const ConfigurablePurpose = makeEnum({ /** Type override */ export type ConfigurablePurpose = - (typeof ConfigurablePurpose)[keyof typeof ConfigurablePurpose]; + typeof ConfigurablePurpose[keyof typeof ConfigurablePurpose]; /** * Purposes used by the purpose map @@ -59,4 +59,4 @@ export const Purpose = makeEnum({ }); /** Type override */ -export type Purpose = (typeof Purpose)[keyof typeof Purpose]; +export type Purpose = typeof Purpose[keyof typeof Purpose]; diff --git a/src/enums/viewState.ts b/src/enums/viewState.ts index e0bdbc9..8f75dd2 100644 --- a/src/enums/viewState.ts +++ b/src/enums/viewState.ts @@ -56,7 +56,7 @@ export const InitialTranscendViewState = makeEnum({ * Type override */ export type InitialTranscendViewState = - (typeof InitialTranscendViewState)[keyof typeof InitialTranscendViewState]; + typeof InitialTranscendViewState[keyof typeof InitialTranscendViewState]; /** * Consent Manager view states that can be used at launch @@ -72,7 +72,7 @@ export const InitialViewState = makeEnum({ * Type override */ export type InitialViewState = - (typeof InitialViewState)[keyof typeof InitialViewState]; + typeof InitialViewState[keyof typeof InitialViewState]; /** * View states that are displayed in response to a user request (e.g. transcend.doNotSell() or ) @@ -88,7 +88,7 @@ export const ResponseViewState = makeEnum({ * Type override */ export type ResponseViewState = - (typeof ResponseViewState)[keyof typeof ResponseViewState]; + typeof ResponseViewState[keyof typeof ResponseViewState]; /** * Consent Manager view states that can be navigated to after initial view state @@ -101,7 +101,7 @@ export const DeepViewState = makeEnum({ /** * Type override */ -export type DeepViewState = (typeof DeepViewState)[keyof typeof DeepViewState]; +export type DeepViewState = typeof DeepViewState[keyof typeof DeepViewState]; /** * Consent Manager view states after it's been dismissed @@ -117,7 +117,7 @@ export const DismissedViewState = makeEnum({ * Type override */ export type DismissedViewState = - (typeof DismissedViewState)[keyof typeof DismissedViewState]; + typeof DismissedViewState[keyof typeof DismissedViewState]; /** * All possible view states of the Consent Manager @@ -132,4 +132,4 @@ export const ViewState = makeEnum({ /** * Type override */ -export type ViewState = (typeof ViewState)[keyof typeof ViewState]; +export type ViewState = typeof ViewState[keyof typeof ViewState];