Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Add param to method on loadPreference on Preference interface (#258)
Browse files Browse the repository at this point in the history
Co-authored-by: Shane L. Duvall <sduvall@mark4tech.com>
  • Loading branch information
edsonjab and nd4p90x authored Nov 16, 2022
1 parent 1230a11 commit f00e4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/consent-manager-builder/preferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const DEFAULT_COOKIE_NAME = 'tracking-preferences'
const COOKIE_DEFAULT_EXPIRES = 365

export interface PreferencesManager {
loadPreferences(): Preferences
loadPreferences(cookieName?: string): Preferences
onPreferencesSaved(listener: (prefs: Preferences) => void): void
savePreferences(prefs: SavePreferences): void
}
Expand Down

0 comments on commit f00e4a3

Please sign in to comment.