title: Property 'features' does not exist on type 'Feature<Point, { [name: string]: any; }>'
body: <p>I'm new to Angular and I'm trying to build a map of germany with Angular/d3. The map data is stored in a Topojson file plz_map_ger.json:</p>
  
  <pre><code>{
  "type": "Topology",
  "arcs": [...],
  "transform": {...},
  "objects": {
        "plz5stellig": {...}
        }
   }
  </code></pre>
  
  <p>This is my code to draw the map:</p>
  
  <pre><code>import * as d3 from "d3";
  import * as t from 'topojson';
  </code></pre>
  
  <p>...</p>
  
  <pre><code>d3.json("../../assets/plz_map_ger.json")
    .then(function(top:any) {
      g.selectAll('path')
        .data(t.feature(top, top.objects.plz5stellig).features)
        .enter()
        .append('path')
        .attr('d', path)
        .attr("class","kreisgrenzen")
        .on("click", function() {
          d3.select(this).attr("class","selected-kreis");
        });
  </code></pre>
  
  <p>However I get the following compile error: </p>
  
  <pre><code>error TS2339: Property 'features' does not exist on type 'Feature&lt;Point, { [name: string]: any; }&gt;'.
  </code></pre>
  
  <p>What do I need to do to fix this? </p>
  
  <p>Edit: 
  When I hover over the error in VS Code i get the following message:</p>
  
  <pre><code>Property 'features' does not exist on type 'Feature&lt;Point, { [name: string]: any; }&gt;'.ts(2339)
  </code></pre>
  
  <p>I use the following Topojson file (this file is a bit simplified, however the structure remains the same) created with mapshaper.org:
  <a href="https://gist.github.com/chscheiber/3b5ddc4bf7c5dd574cd86389a45b6f4f" rel="nofollow noreferrer">gist.github.com/.../plz_map_ger.json</a></p>