<p dir="auto">on mac, after upgrading Deno from 1.1.3 to 1.2.2 I see this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname
                 ~~~
    at https://deno.land/std@0.51.0/path/win32.ts:911:18

TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname;
                 ~~~
    at https://deno.land/std@0.51.0/path/posix.ts:433:18"><pre class="notranslate"><code class="notranslate">error: TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname
                 ~~~
    at https://deno.land/std@0.51.0/path/win32.ts:911:18

TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname;
                 ~~~
    at https://deno.land/std@0.51.0/path/posix.ts:433:18
</code></pre></div>
<p dir="auto">I did --reload for all modules, and another similar error disappeared, but this did not. How can I isolate which module is causing this incompatibility issue to appear?</p>
<blockquote>
<p dir="auto">@ I'm running very simple server. But I have some errors. How I can solve this? I already updated to deno v1.2.1. But steel have this error.</p>
</blockquote>
<p dir="auto">error: TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.<br>
Type 'URL' is not assignable to type 'string'.<br>
return new URL(url).pathname<br>
~~~<br>
at <a href="https://deno.land/std@v0.50.0/path/win32.ts:911:18" rel="nofollow">https://deno.land/std@v0.50.0/path/win32.ts:911:18</a></p>
<p dir="auto">TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.<br>
Type 'URL' is not assignable to type 'string'.<br>
return new URL(url).pathname;<br>
~~~<br>
at <a href="https://deno.land/std@v0.50.0/path/posix.ts:433:18" rel="nofollow">https://deno.land/std@v0.50.0/path/posix.ts:433:18</a></p>