Base
classBase class for every data structure. Holds a non-enumerable reference to the client.
Declaration
declare abstract class Base<Data = unknown> Properties
Methods
protected _patch(data: Data): this;| Parameter | Type |
|---|---|
| data | Data |
Returns this
Merge new raw data into this structure (used when an entity is re-fetched).
constructor(client: Client, data: Data);Constructs a new instance of the Base class