Ceymikey 🎗
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
68 replies
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
Its in my main file
68 replies
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
Or could I use something like .*
68 replies
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
So when I compile it .ts changes to .js
68 replies
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
It was because it stated endswith .ts and not .js is there a way for me to make it so that the tsc also changes that
68 replies
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
So ig I still messed up some path
68 replies
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
No slash commands
68 replies
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
No console log events
68 replies
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
But isn't doing anything
68 replies
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
Bot starting succesfully
68 replies
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
meguFace
68 replies
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
Handling js in dist handling ts in dist folder
68 replies
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
As you said I was pointing all to my src folder ts files but now bot.ts its functions etc is pointing to src and my bot.js is pointing to all the stuff inside of my dist folder.
68 replies
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
Found it I think
68 replies
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
"scripts": {
"build": "tsc --watch",
"start": "node dist/bot.js",
"test": "node dist/bot.js"
},
"scripts": {
"build": "tsc --watch",
"start": "node dist/bot.js",
"test": "node dist/bot.js"
},
68 replies
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 compile my code and run the js cuz node cannot directly run ts code.
68 replies
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
¯\_(ツ)_/¯
68 replies
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
Idk what I am doing wrong
68 replies
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
And they are both the same
src/bot.ts
dist/bot.js
src/bot.ts
dist/bot.js
68 replies
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
Because in my ts code I did them correct
68 replies