Ceymikey 🎗
DIAdiscord.js - Imagine an app
•Created by Ceymikey 🎗 on 12/23/2023 in #djs-questions
I am new to Typescript and I am trying to convert my Js code to ts
I have the base bot set up already in Javascript like the command handling and the main file and when I asked if I could use Typescript with my bot they said It should just work fine if I convert my code. When I did this I found out I needed a tsconfig.json and now I was getting a lot of Include and Exclude errors etc. I just use the basic one could somebody help me
tsc --init
Its in my root directory and my main is in Root/src/bot.ts. Just somebody help me set it up.68 replies