-
I am using typescript to make a discord bot but I ran into a problem which is that when using require function to import discord.js module, IntelliSense doesn't work. Is there a possible way to fix this? If you want an example, then the code snippet at discord.js.org homepage is what used similarly to import discord.js module. |
Beta Was this translation helpful? Give feedback.
Answered by
monbrey
Jun 19, 2021
Replies: 1 comment 3 replies
-
I would expect that if writing TypeScript you'd be using the ES6 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
kyranet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would expect that if writing TypeScript you'd be using the ES6
import
syntax rather thanrequire
.