<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.6.0</p>
<p dir="auto"><strong>tsconfig.json</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
&quot;noResolve&quot;: true
..."><pre class="notranslate">...
<span class="pl-s">"noResolve"</span>: <span class="pl-c1">true</span>
<span class="pl-kos">.</span><span class="pl-kos">.</span><span class="pl-kos">.</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong><br>
VS editor should respond to keyboard inputs when setting "noResolve" to true in tsconfig.json. Currently only responds to delete, tab and copy/paste.</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
VS editor doesn't respond to keyboard inputs when setting "noResolve" to true, except for delete, tab and copy/paste.</p>
<p dir="auto"><strong>Related issue?</strong><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="125544267" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6392" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6392/hovercard" href="https://github.com/microsoft/TypeScript/issues/6392">#6392</a></p>
<p dir="auto">I have an enum in an interface that, when used in my TS code in TypeScript 1.3, was output as a constant. This is no longer the case in 1.4 after saving my file. When i build the project, the enum code is properly output as a constant. Using VS 2013 update 4 with TypeScript 1.4 installed.</p>
<p dir="auto">Enum declaration file (Colors.d.ts):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="declare module server {
    enum Colors {
        Red = 0,
        Green = 0,
        Blue = 0
    }
}"><pre class="notranslate"><code class="notranslate">declare module server {
    enum Colors {
        Red = 0,
        Green = 0,
        Blue = 0
    }
}
</code></pre></div>
<p dir="auto">TS Code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if(box.color === server.Colors.Red) {
...
}"><pre class="notranslate"><code class="notranslate">if(box.color === server.Colors.Red) {
...
}
</code></pre></div>
<p dir="auto">JS Output after save:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if(box.color === server.Colors.Red) {
...
}"><pre class="notranslate"><code class="notranslate">if(box.color === server.Colors.Red) {
...
}
</code></pre></div>
<p dir="auto">JS Output after build (correct, or what i consider to be correct since there is no implementation of the enum):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if(box.color === 0 /* Red */) {
...
}"><pre class="notranslate"><code class="notranslate">if(box.color === 0 /* Red */) {
...
}
</code></pre></div>
<p dir="auto">The same is observed if the enum is declared using the new "const enum" feature.</p>