title: How to use deep-equal (Angular 7)
body: <p>Auto import by VS Code:</p>
  
  <pre><code>import deepEqual = require('deep-equal');
  </code></pre>
  
  <p>Doesn't work:</p>
  
  <blockquote>
    <p>error TS1202: Import assignment cannot be used when targeting
    ECMAScript modules. Consider using 'import * as ns from "mod"',
    'import {a} from "mod"', 'import d from "mod"', or another module
    format instead.</p>
  </blockquote>
  
  <p>Then I tried to do like this:</p>
  
  <pre><code>import * as deepEqual from 'deep-equal';
  </code></pre>
  
  <blockquote>
    <p>error TS2497: Module '"path/@types/deep-equal/index"' resolves to a non-module entity and cannot be imported using this construct.</p>
  </blockquote>
  
  <p>And like this:</p>
  
  <pre><code>import {deepEqual} from 'deep-equal';
  </code></pre>
  
  <blockquote>
    <p>error TS2305: Module
    '"C:/Projects/ManagerServer/Src-LoyaltyCoin.ManagerServer.Core/ManagerWeb/ClientApp/node_modules/@types/deep-equal/index"'
    has no exported member 'deepEqual'.</p>
  </blockquote>
  
  <p>I haven't got ideas how can I import this. If there's no solution for this, please suggest me another library to compare objects for Angular 7.</p>