Property `getString` does not exist on valid object?
d.js version:
v14.13.0
node version: v18.16.0
Just quickly porting my code to windows to make sure everything is working and I noticed my VSCode is not showing me any errors, but TypeScript thinks something is wrong, nothing has changed but here is some example code.
9 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPCONSOLE:
CODE EDITOR:
am i missing something very dumb? Seems perhaps wrong types but ive always used these same types for the
run()
paramsTYPES INFERRED FROM EDITOR:
what is your ts version
Update to v5.1+
can do, ty lemme give that a run
yeap that was it
thank you chads, i kinda had a