# How to integrate Typescript files into a "create-react-kotlin-app" project?

**URL:** <https://discuss.kotlinlang.org/t/how-to-integrate-typescript-files-into-a-create-react-kotlin-app-project/7876>\
**Category:** Web Development\
**Created:** [May 22, 2018, 2:03am UTC](https://discuss.kotlinlang.org/t/how-to-integrate-typescript-files-into-a-create-react-kotlin-app-project/7876 "2018-05-22T02:03:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixman9](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/sixman9/32/5150_2.png) [@sixman9](https://discuss.kotlinlang.org/u/sixman9)\
**Post date:** [May 22, 2018, 2:03am UTC](https://discuss.kotlinlang.org/t/how-to-integrate-typescript-files-into-a-create-react-kotlin-app-project/7876/1 "2018-05-22T02:03:31Z")

</div>

2 questions, really:

1. How is ‘ts2kt-automator’ invoked from within a “create-react-kotlin-app” (CRKA) project?

2. Can ‘ts2kt-automator’ be pointed at a locally constructed Typescript declaration file (‘\*.d.ts’) or is a remote npmjs dependency download, the only way?

I _have_ also used the standalone ‘ts2kt’ to generate Kotlin files, against my own type declarations, however, I have a thing about correctness and want to fully understand the workflow involved with a CRKA project.
