# Typescript error - "Element implicitly has an 'any' type because type 'Object' has no index signature"

**URL:** https://forum.makecode.com/t/typescript-error-element-implicitly-has-an-any-type-because-type-object-has-no-index-signature/16019
**Category:** Help
**Created:** [October 26, 2022, 10:37pm UTC](https://forum.makecode.com/t/typescript-error-element-implicitly-has-an-any-type-because-type-object-has-no-index-signature/16019 "2022-10-26T22:37:40Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![kwx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kwx/32/1545_2.png) [@kwx](https://forum.makecode.com/u/kwx)
#### Post date: [October 28, 2022, 5:39pm UTC](https://forum.makecode.com/t/typescript-error-element-implicitly-has-an-any-type-because-type-object-has-no-index-signature/16019/12 "2022-10-28T17:39:37Z")

</div>

In case it helps, I posted a very high-level overview in [[Announcement] MakeCode Arcade Mini Game Jam #4 - Outer Space Jam - #71 by kwx](https://forum.makecode.com/t/announcement-makecode-arcade-mini-game-jam-4-outer-space-jam/15689/71) . The projection is pretty much the usual perspective divide apart from using fixed-point math, see the `perspectiveTransform(vert: number[])` method in the _triangle.ts_ file. Before doing that, it uses [reentrant polygon clipping](https://en.wikipedia.org/wiki/Sutherland%E2%80%93Hodgman_algorithm) to ensure that it doesn’t get divide-by-zero errors or problems with behind-the-user surfaces becoming visible.

---

_[View the full topic](https://forum.makecode.com/t/typescript-error-element-implicitly-has-an-any-type-because-type-object-has-no-index-signature/16019)._
