How to merge two enums in TypeScript : <p>Suppose I have two enums as described below in Typescript, then How do I merge them</p>

<pre><code>enum Mammals {
    Humans,
    Bats,
    Dolphins
}

enum Reptiles {
    Snakes,
    Alligators,
    Lizards
}

export default Mammals &amp; Reptiles // For Illustration purpose, Consider both the Enums have been merged.
</code></pre>

<p>Now, when I <code>import</code> the <code>exported value</code> in another file, I should be able to access values from both the enums.  </p>

<pre><code>import animalTypes from "./animalTypes"

animalTypes.Humans //valid

animalTypes.Snakes // valid
</code></pre>

<p>How can I achieve such functionality in Typescript?</p>
