Skip to content
This repository was archived by the owner on Jul 30, 2022. It is now read-only.

Conversation

@lahgolz
Copy link
Contributor

@lahgolz lahgolz commented Jun 7, 2021

No description provided.

@lahgolz lahgolz requested a review from Mesteery June 7, 2021 18:30
import type { DeepRequired } from '../utils';
import { GatewayException } from '../exceptions';
import { BaseClient } from './BaseClient';
import type { HttpOptions } from '../http';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revet imports order changes?

/**
* Discord's gateway version.
* @default 8
* @defaultValue 8
Copy link
Contributor

@Mesteery Mesteery Jun 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defaultValue `8` or defaultValue 8 ?

import { deconstruct } from '../utils/Snowflake';
import { Team } from './team/Team';
import { User } from './User';

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why and when some fields can be nullable?

import { GuildChannel } from './channel/GuildChannel';
import { Guild } from './guild/Guild';
import { User } from './User';

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same about nullable fields.

/**
* The user(s) of the DM
*/
public recipients = new Collection<Snowflake, User>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why users?

*/
public author?: User;

public $patch(data: APIEmoji): void {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use TSDoc's @private

@Mesteery Mesteery added doc Improvements or additions to documentation wip Issues and PRs that are still a work in progress labels Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

doc Improvements or additions to documentation wip Issues and PRs that are still a work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants