I have my SteamUser object declared:
const SteamUser = require("steam-user");
const client = new SteamUser()
It recognizes the logOn function:
But IntelliSense doesn't work. I tried restarting VSCode, entering command pallete and using the Developer: Reload Window command, but to no avail.
In a discord.js project IntelliSense also doesn't work:
I have run npm install:
Here is my package.json:
{
"dependencies": {
"steam-user": "^5.0.1"
}
}
EDIT: Just found out that local requires also don't work.
Example:
const config = require("./config.json")
config.json:
{
"accountName": "something",
"password": "something2"
}
0 comments:
Post a Comment
Thanks