/**
* NormalizeEntries.js
*
* Released under LGPL License.
* Copyright (c) 1999-2018 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
import { Entry } from './Entry';
import { Arr, Merger, Option } from '@ephox/katamari';
const assimilateEntry = (adherent: Entry, source: Entry) => {
adherent.listType = source.listType;
adherent.listAttributes = Merger.merge({}, source.listAttributes);
adherent.itemAttributes = Merger.merge({}, source.itemAttributes);
};
const normalizeShallow = (outline: Array