   // const S: TObject&lt;{
                                                    //   propX: TNumber;
                                                    //   propY: TNumber;
                                                    //   propZ: TNumber;
                                                    // }&gt;
</code></pre>
<h2>Deep Partial</h2>
<p>The following uses Script to create a DeepPartial type.</p>
<pre><code class="language-typescript">const DeepPartial = Type.Script(`&lt;T&gt; = {
  [K in keyof T]?: 