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

Add param to method on loadPreference on Preference interface #258

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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