id,
update: patch => {
const next: { url?: string; title?: string; faviconHash?: string | null } = {};
browserHistory.ts
if (patch.url !== undefined) {
next.url = patch.url;
}
next.title = patch.title;
}
// null is the explicit-clear sentinel; a data URI registers and references it.
next.faviconHash = patch.favicon === null ? null : this.favicons.register(patch.favicon);
}
},
delete: () => {
this.entries.delete(id);