title: How to instantiate a File object in Typescript?
body: <p>I see that my IDE recognizes <code>File</code> as a Typescript object. Doing a <a href="https://www.google.com/search?newwindow=1&amp;safe=off&amp;ei=WZ59XMGMH4TL-gSr3ZXYBg&amp;q=site%3Atypescriptlang.org%20File%20object&amp;oq=site%3Atypescriptlang.org%20File%20object&amp;gs_l=psy-ab.3...193722.193722..194239...0.0..0.218.218.2-1......0....1..gws-wiz.......0i71.FLtz8SF6ciQ" rel="noreferrer">refined search in Google</a> brings me to <a href="https://www.typescriptlang.org/docs/handbook/declaration-files/by-example.html" rel="noreferrer">this page</a>, which has nothing about <code>File</code> objects. <code>File</code> is neither in <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" rel="noreferrer">basic types</a> or in <a href="https://www.typescriptlang.org/docs/handbook/advanced-types.html" rel="noreferrer">advanced types</a>.</p>
  
  <p>Are <code>File</code> objects in Typescript handled <a href="https://developer.mozilla.org/en-US/docs/Web/API/File" rel="noreferrer">exactly the same way as in Javascript</a>? Are there any breaking differences?</p>
  
  <p>Again, how to instantiate a File type in Typescript?</p>