# Using the p5.ts libary for angular 5 project

**URL:** <https://discourse.processing.org/t/using-the-p5-ts-libary-for-angular-5-project/2137>\
**Category:** Beginners\
**Created:** [July 27, 2018, 11:53am UTC](https://discourse.processing.org/t/using-the-p5-ts-libary-for-angular-5-project/2137 "2018-07-27T11:53:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ira](https://avatars.discourse-cdn.com/v4/letter/i/9fc348/32.png) [@ira](https://discourse.processing.org/u/ira)\
**Post date:** [July 27, 2018, 11:53am UTC](https://discourse.processing.org/t/using-the-p5-ts-libary-for-angular-5-project/2137/1 "2018-07-27T11:53:35Z")

</div>

hey im trying to get p5.ts to work on angular 5 I know theirs a typescript variant for p5js on git but Im unsure how to install/add it to the app modules to get it to work. I tried using the standard p5js typescript definitions file but I kept running into a TS2304 error saying it couldn’t find anything. any thoughts would be appreciated

---

<div class="post-metadata">

**Author:** ![TSHiYK](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tshiyk/32/918_2.png) [@TSHiYK](https://discourse.processing.org/u/TSHiYK)\
**Post date:** [July 28, 2018, 4:30am UTC](https://discourse.processing.org/t/using-the-p5-ts-libary-for-angular-5-project/2137/2 "2018-07-28T04:30:56Z")

</div>

Hi, ira. I create the [repository](https://github.com/TSHiYK/p5.js-typescript) of a template for typescript. I am glad if it helps.

---

<div class="post-metadata">

**Author:** ![ira](https://avatars.discourse-cdn.com/v4/letter/i/9fc348/32.png) [@ira](https://discourse.processing.org/u/ira)\
**Post date:** [August 1, 2018, 3:27pm UTC](https://discourse.processing.org/t/using-the-p5-ts-libary-for-angular-5-project/2137/3 "2018-08-01T15:27:27Z")

</div>

Thanks a lot I’ll check it out 👍
