---
title: "Comment by Ryan Weaver on \"Build a React based Electron app\" | Hashnode"
description: "What is I want my public/electron.js to actually be a TypeScript file like public/electron.ts? What is the startup script for that?"
url: "https://hashnode.com/posts/build-a-react-based-electron-app/6146362ae1f56817e3607108/comment/634d6c71c66c147f52bea99d"
---

[Discussion](https://hashnode.com/posts/build-a-react-based-electron-app/6146362ae1f56817e3607108)

Comment [Build a React based Electron app](https://hashnode.com/posts/build-a-react-based-electron-app/6146362ae1f56817e3607108)

[Ryan Weaver](https://hashnode.com/@MrCodeWeaver)

[Oct 17, 2022](https://hashnode.com/posts/build-a-react-based-electron-app/6146362ae1f56817e3607108/comment/634d6c71c66c147f52bea99d)

What is I want my public/electron.js to actually be a TypeScript file like public/electron.ts? What is the startup script for that?
