title: typescript type for object with unknown keys, but only numeric values?
body: <p>I have an object that I get from an external source at runtime. It has arbitrary string string valued keys, but only numric values. It could look like:</p>
  
  <pre><code>{foo:1, bar:3} 
  </code></pre>
  
  <p>but it might as well look like </p>
  
  <pre><code>{asdf: 1}
  </code></pre>
  
  <p>I want the typescript compiler to know that <em>for all present keys, the value is numeric</em>. I tried things like <code>type numObj = {string: number}</code> and <code>type numObj = {[string]: number}</code> but neither works.</p>
  
  <p>What is the suiting type declaration?</p>