framework icon indicating copy to clipboard operation
framework copied to clipboard

bug: SapphireClient is missing typed client events

Open skizer opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description of the bug

SapphireClient is missing intellisense for SapphireClient .on('EVENT-NAME')

Steps To Reproduce

npm init -y [...] npm i discord.js npm i @sapphire/framework

Expected behavior

Get a list of available events via SapphireClient.on like with discord.js

Screenshots

No response

Additional context

node @ v16.14.2 VS Code @ 1.67.2

  "devDependencies": {
    "@tsconfig/recommended": "^1.0.1",
    "@types/node": "^17.0.40",
    "ts-node-dev": "^2.0.0",
    "typescript": "^4.7.3"
  },
  "dependencies": {
    "@sapphire/framework": "^2.5.0",
    "discord.js": "^13.7.0",
    "dotenv": "^16.0.1"
  }

skizer avatar Jun 05 '22 14:06 skizer