<p dir="auto">The following snippet is valid, as far as I know:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export interface User {
    wpUserID: string;
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">interface</span> <span class="pl-smi">User</span> <span class="pl-kos">{</span>
    <span class="pl-c1">wpUserID</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The following snippet is also valid, but does not compile, but probably should:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default interface User {
    wpUserID: string;
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">interface</span> <span class="pl-smi">User</span> <span class="pl-kos">{</span>
    <span class="pl-c1">wpUserID</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">I get errors thrown at me when using TypeScript 1.5-beta:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: /Models/User.ts(1,26): Error TS1005: ';' expected.
Error: /Models/User.ts(1,31): Error TS1005: ';' expected."><pre class="notranslate"><code class="notranslate">Error: /Models/User.ts(1,26): Error TS1005: ';' expected.
Error: /Models/User.ts(1,31): Error TS1005: ';' expected.
</code></pre></div>
<p dir="auto">Raised on SO. The following is an error:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default interface Foo {
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">interface</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">By design or bug?</p>