Skip to content

Commit

Permalink
import AirgapAuthMap
Browse files Browse the repository at this point in the history
  • Loading branch information
eligrey committed Jun 26, 2024
1 parent 01f019a commit 8a52762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
PrivacyRegimeEnum,
DismissedViewState,
} from './enums';
import { AirgapAuth } from './core';
import { AirgapAuth, AirgapAuthMap } from './core';
import { NonTcfVendor } from './iab';

/** Transcend Smart Quarantine API (window.transcend) */
Expand All @@ -39,7 +39,7 @@ export type ConsentManagerAPI = Readonly<{
/** Expose an option to grab the current view state */
getViewState: () => ViewState;
/** Set consent change authorization key */
setAuth?: (auth: AirgapAuthMap['key']) => void;
setAuth?: (key: AirgapAuthMap['key']) => void;
/** Change the current privacy policy URL */
setPrivacyPolicy: (privacyPolicyLink: string) => void;
/** Change the current secondary policy URL */
Expand Down

0 comments on commit 8a52762

Please sign in to comment.