cleanup: remove remaining apiRequestMethod docs and typings (#2806)

This commit is contained in:
Adam Gauthier
2018-08-29 02:43:28 -04:00
committed by SpaceEEC
parent 989c365ef1
commit 8821fd40bc
2 changed files with 0 additions and 4 deletions

View File

@@ -5,9 +5,6 @@ const browser = exports.browser = typeof window !== 'undefined';
/**
* Options for a client.
* @typedef {Object} ClientOptions
* all requests in the order they are triggered, whereas the burst handler runs multiple in parallel, and doesn't
* provide the guarantee of any particular order. Burst mode is more likely to hit a 429 ratelimit error by its nature,
* and is therefore slightly riskier to use.
* @property {number} [shardId=0] ID of the shard to run
* @property {number} [shardCount=0] Total number of shards
* @property {number} [messageCacheMaxSize=200] Maximum number of messages to cache per channel

1
typings/index.d.ts vendored
View File

@@ -1549,7 +1549,6 @@ declare module 'discord.js' {
};
type ClientOptions = {
apiRequestMethod?: 'sequential' | 'burst';
presence?: PresenceData;
shardId?: number;
shardCount?: number;