Swift 3 Type 'Any' has no subscript members
<p>I just converted my project to Swift 3 I have this line of code here:</p>

<pre><code>let type = self.data[indexPath.row]["Type"] as? String
</code></pre>

<p>but now I get this error:</p>

<pre><code>Type 'Any' has no subscript members
</code></pre>

<p>Why am I getting this error and do I fix it?</p>