Skip to content

Commit

Permalink
types: Update accessibility modifiers on constructors (#10147)
Browse files Browse the repository at this point in the history
types: update accessibility modifiers on constructors
  • Loading branch information
Jiralite authored Feb 23, 2024
1 parent bfbd62e commit efa3cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export interface ActionRowData<ComponentType extends JSONEncodable<APIActionRowC
export class ActionRowBuilder<
ComponentType extends AnyComponentBuilder = AnyComponentBuilder,
> extends BuilderActionRow<ComponentType> {
constructor(
public constructor(
data?: Partial<
| ActionRowData<ActionRowComponentData | JSONEncodable<APIActionRowComponentTypes>>
| APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>
Expand Down Expand Up @@ -2396,7 +2396,7 @@ export interface ActionRowModalData {
}

export class ModalSubmitFields {
constructor(components: readonly (readonly ModalActionRowComponent[])[]);
private constructor(components: readonly (readonly ModalActionRowComponent[])[]);
public components: ActionRowModalData[];
public fields: Collection<string, ModalActionRowComponent>;
public getField<Type extends ComponentType>(customId: string, type: Type): { type: Type } & TextInputModalData;
Expand Down

0 comments on commit efa3cac

Please sign in to comment.