Skip to content

Conversation

@NotSugden
Copy link
Contributor

Please describe the changes this PR makes and why it should be merged:
This PR changes the typings for WebhookClient#client to be this instead of being a Client from the WebhookMixin, (as constructing a new WebhhokClient has no Client parameter, and defines it as this, see here)

(also moves an Interface from the classes regionto the typedefs region)

Status

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

  • This PR changes the library's interface (methods or parameters added)
    • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
  • This PR only includes non-code changes, like changes to documentation, README, etc.

@iCrawl iCrawl merged commit 44ff67d into discordjs:master Feb 24, 2020
iCrawl added a commit that referenced this pull request Feb 24, 2020
iCrawl added a commit that referenced this pull request Feb 24, 2020
* Revert "typings(WebhookClient): client is not a Client (#3829)"

This reverts commit 44ff67d.

* Update index.d.ts

* Update index.d.ts
samsamson33 pushed a commit to samsamson33/discord.js that referenced this pull request Feb 27, 2020
* typings(WebhookClient): client is not a Client

* style: use tabs
samsamson33 pushed a commit to samsamson33/discord.js that referenced this pull request Feb 27, 2020
…ordjs#3831)

* Revert "typings(WebhookClient): client is not a Client (discordjs#3829)"

This reverts commit 44ff67d.

* Update index.d.ts

* Update index.d.ts
samsamson33 added a commit to samsamson33/discord.js that referenced this pull request Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants