Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherminh committed May 1, 2024
1 parent 2a46094 commit f6fabd6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/enums/browserLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,4 @@ export const BrowserLanguage = makeEnum({

/** Overrides type */
export type BrowserLanguage =
(typeof BrowserLanguage)[keyof typeof BrowserLanguage];
typeof BrowserLanguage[keyof typeof BrowserLanguage];
2 changes: 1 addition & 1 deletion src/enums/consentExpiry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export const OnConsentExpiry = makeEnum({
});
/** Override type */
export type OnConsentExpiry =
(typeof OnConsentExpiry)[keyof typeof OnConsentExpiry];
typeof OnConsentExpiry[keyof typeof OnConsentExpiry];
2 changes: 1 addition & 1 deletion src/enums/experience.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ export const RegionsOperator = makeEnum({
});
/** Override type */
export type RegionsOperator =
(typeof RegionsOperator)[keyof typeof RegionsOperator];
typeof RegionsOperator[keyof typeof RegionsOperator];
8 changes: 4 additions & 4 deletions src/enums/purpose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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];
12 changes: 6 additions & 6 deletions src/enums/viewState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 )
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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];

0 comments on commit f6fabd6

Please sign in to comment.