<p dir="auto">Error with example in fs module.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error TS2339: Property 'utime' does not exist on type 'typeof Deno'.
    await Deno.utime(dest, statInfo.atime, statInfo.mtime);
               ~~~~~
    at https://deno.land/std/fs/copy.ts:90:16"><pre class="notranslate"><code class="notranslate">error TS2339: Property 'utime' does not exist on type 'typeof Deno'.
    await Deno.utime(dest, statInfo.atime, statInfo.mtime);
               ~~~~~
    at https://deno.land/std/fs/copy.ts:90:16
</code></pre></div>
<p dir="auto"><a href="https://github.com/denoland/deno/blob/master/std/fs/README.md">https://github.com/denoland/deno/blob/master/std/fs/README.md</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import { emptyDir, emptyDirSync } from &quot;https://deno.land/std/fs/mod.ts&quot;;

emptyDir(&quot;./foo&quot;); // returns a promise
emptyDirSync(&quot;./foo&quot;); // void"><pre class="notranslate"><code class="notranslate">import { emptyDir, emptyDirSync } from "https://deno.land/std/fs/mod.ts";

emptyDir("./foo"); // returns a promise
emptyDirSync("./foo"); // void
</code></pre></div>
<p dir="auto">I'm trying the following script and I get a few errors.</p>
<p dir="auto">index.ts</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { exists } from &quot;https://deno.land/std/fs/mod.ts&quot;;

const found = await exists('/folder');
console.log('Found:', found);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">exists</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/std/fs/mod.ts"</span><span class="pl-kos">;</span>

<span class="pl-k">const</span> <span class="pl-s1">found</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-en">exists</span><span class="pl-kos">(</span><span class="pl-s">'/folder'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Found:'</span><span class="pl-kos">,</span> <span class="pl-s1">found</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Error:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="error TS2339: Property 'utime' does not exist on type 'typeof Deno'.
    await Deno.utime(dest, statInfo.atime, statInfo.mtime);
               ~~~~~
    at https://deno.land/std/fs/copy.ts:90:16

error TS2339: Property 'utimeSync' does not exist on type 'typeof Deno'.
    Deno.utimeSync(dest, statInfo.atime, statInfo.mtime);
         ~~~~~~~~~
    at https://deno.land/std/fs/copy.ts:101:10

error TS2339: Property 'symlink' does not exist on type 'typeof Deno'.
  await Deno.symlink(originSrcFilePath, dest, type);
             ~~~~~~~
    at https://deno.land/std/fs/copy.ts:114:14

error TS2339: Property 'utime' does not exist on type 'typeof Deno'.
    await Deno.utime(dest, statInfo.atime, statInfo.mtime);
               ~~~~~
    at https://deno.land/std/fs/copy.ts:119:16

error TS2339: Property 'symlinkSync' does not exist on type 'typeof Deno'.
  Deno.symlinkSync(originSrcFilePath, dest, type);
       ~~~~~~~~~~~
    at https://deno.land/std/fs/copy.ts:132:8

error TS2339: Property 'utimeSync' does not exist on type 'typeof Deno'.
    Deno.utimeSync(dest, statInfo.atime, statInfo.mtime);
         ~~~~~~~~~
    at https://deno.land/std/fs/copy.ts:137:10

error TS2339: Property 'utime' does not exist on type 'typeof Deno'.
    await Deno.utime(dest, srcStatInfo.atime, srcStatInfo.mtime);
               ~~~~~
    at https://deno.land/std/fs/copy.ts:157:16

error TS2339: Property 'utimeSync' does not exist on type 'typeof Deno'.
    Deno.utimeSync(dest, srcStatInfo.atime, srcStatInfo.mtime);
         ~~~~~~~~~
    at https://deno.land/std/fs/copy.ts:185:10

error TS2339: Property 'link' does not exist on type 'typeof Deno'.
  await Deno.link(src, dest);
             ~~~~
    at https://deno.land/std/fs/ensure_link.ts:28:14

error TS2339: Property 'linkSync' does not exist on type 'typeof Deno'.
  Deno.linkSync(src, dest);
       ~~~~~~~~
    at https://deno.land/std/fs/ensure_link.ts:52:8

error TS2339: Property 'symlink' does not exist on type 'typeof Deno'.
  await Deno.symlink(src, dest, srcFilePathType);
             ~~~~~~~
    at https://deno.land/std/fs/ensure_symlink.ts:31:14

error TS2339: Property 'symlinkSync' does not exist on type 'typeof Deno'.
  Deno.symlinkSync(src, dest, srcFilePathType);
       ~~~~~~~~~~~
    at https://deno.land/std/fs/ensure_symlink.ts:58:8

Found 12 errors."><pre class="notranslate">error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>utime<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
    await Deno.utime(dest, statInfo.atime, statInfo.mtime)<span class="pl-k">;</span>
               <span class="pl-k">~</span>~~~~
    at https://deno.land/std/fs/copy.ts:90:16

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>utimeSync<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
    Deno.utimeSync(dest, statInfo.atime, statInfo.mtime)<span class="pl-k">;</span>
         <span class="pl-k">~</span>~~~~~~~~
    at https://deno.land/std/fs/copy.ts:101:10

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>symlink<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
  await Deno.symlink(originSrcFilePath, dest, type)<span class="pl-k">;</span>
             <span class="pl-k">~</span>~~~~~~
    at https://deno.land/std/fs/copy.ts:114:14

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>utime<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
    await Deno.utime(dest, statInfo.atime, statInfo.mtime)<span class="pl-k">;</span>
               <span class="pl-k">~</span>~~~~
    at https://deno.land/std/fs/copy.ts:119:16

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>symlinkSync<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
  Deno.symlinkSync(originSrcFilePath, dest, type)<span class="pl-k">;</span>
       <span class="pl-k">~</span>~~~~~~~~~~
    at https://deno.land/std/fs/copy.ts:132:8

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>utimeSync<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
    Deno.utimeSync(dest, statInfo.atime, statInfo.mtime)<span class="pl-k">;</span>
         <span class="pl-k">~</span>~~~~~~~~
    at https://deno.land/std/fs/copy.ts:137:10

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>utime<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
    await Deno.utime(dest, srcStatInfo.atime, srcStatInfo.mtime)<span class="pl-k">;</span>
               <span class="pl-k">~</span>~~~~
    at https://deno.land/std/fs/copy.ts:157:16

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>utimeSync<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
    Deno.utimeSync(dest, srcStatInfo.atime, srcStatInfo.mtime)<span class="pl-k">;</span>
         <span class="pl-k">~</span>~~~~~~~~
    at https://deno.land/std/fs/copy.ts:185:10

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>link<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
  await Deno.link(src, dest)<span class="pl-k">;</span>
             <span class="pl-k">~</span>~~~
    at https://deno.land/std/fs/ensure_link.ts:28:14

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>linkSync<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
  Deno.linkSync(src, dest)<span class="pl-k">;</span>
       <span class="pl-k">~</span>~~~~~~~
    at https://deno.land/std/fs/ensure_link.ts:52:8

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>symlink<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
  await Deno.symlink(src, dest, srcFilePathType)<span class="pl-k">;</span>
             <span class="pl-k">~</span>~~~~~~
    at https://deno.land/std/fs/ensure_symlink.ts:31:14

error TS2339: Property <span class="pl-s"><span class="pl-pds">'</span>symlinkSync<span class="pl-pds">'</span></span> does not exist on <span class="pl-c1">type</span> <span class="pl-s"><span class="pl-pds">'</span>typeof Deno<span class="pl-pds">'</span></span>.
  Deno.symlinkSync(src, dest, srcFilePathType)<span class="pl-k">;</span>
       <span class="pl-k">~</span>~~~~~~~~~~
    at https://deno.land/std/fs/ensure_symlink.ts:58:8

Found 12 errors.</pre></div>
<p dir="auto">deno 1.0.0-rc1<br>
v8 8.2.308<br>
typescript 3.8.3</p>