Typescript - removing readonly modifier : <p>In Typescript, is it possible to remove the readonly modifier from a type?</p>

<p>For example:</p>

<pre><code>type Writeable&lt;T&gt; = { [P in keyof T]: T[P] };
</code></pre>

<p>Usage:</p>

<pre><code>interface Foo {
    readonly bar: boolean;
}

let baz: Writeable&lt;Foo&gt;;

baz.bar = true;
</code></pre>

<p>Is it possible to add a modifier to the type to make all the properties writeable?</p>
