# Errors with Typescript 4.0

**URL:** <https://forum.babylonjs.com/t/errors-with-typescript-4-0/13623>\
**Category:** Bugs\
**Created:** [August 24, 2020, 7:43am UTC](https://forum.babylonjs.com/t/errors-with-typescript-4-0/13623 "2020-08-24T07:43:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kesshi](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@Kesshi](https://forum.babylonjs.com/u/Kesshi)\
**Post date:** [August 24, 2020, 7:43am UTC](https://forum.babylonjs.com/t/errors-with-typescript-4-0/13623/1 "2020-08-24T07:43:31Z")

</div>

BabylonJS can’t be used with TS 4.0. During compilation several errors like this will appear:

```nohighlight
error TS2610: 'isCube' is defined as an accessor in class 'Texture', 
but is overridden here in 'RenderTargetTexture' as an instance property.

```

Typescript 4.0 introduced a breaking change: [Breaking Changes · microsoft/TypeScript Wiki · GitHub](https://github.com/microsoft/TypeScript/wiki/Breaking-Changes#typescript-40)

It would be nice if this could be fixed. Currently i have to patch the .d.ts file manually.

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [August 24, 2020, 9:07am UTC](https://forum.babylonjs.com/t/errors-with-typescript-4-0/13623/2 "2020-08-24T09:07:51Z")

</div>

TypeScript 4.0 was just released, we are still in the process of supporting it. Update will come very soon 🙂

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 24, 2020, 4:58pm UTC](https://forum.babylonjs.com/t/errors-with-typescript-4-0/13623/3 "2020-08-24T16:58:29Z")

</div>

I’ll work on it today

> <https://github.com/BabylonJS/Babylon.js/issues/8789>
