Skip to content

Commit efa3cac

Browse files
authored
types: Update accessibility modifiers on constructors (#10147)
types: update accessibility modifiers on constructors
1 parent bfbd62e commit efa3cac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/discord.js/typings/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export interface ActionRowData<ComponentType extends JSONEncodable<APIActionRowC
311311
export class ActionRowBuilder<
312312
ComponentType extends AnyComponentBuilder = AnyComponentBuilder,
313313
> extends BuilderActionRow<ComponentType> {
314-
constructor(
314+
public constructor(
315315
data?: Partial<
316316
| ActionRowData<ActionRowComponentData | JSONEncodable<APIActionRowComponentTypes>>
317317
| APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>
@@ -2396,7 +2396,7 @@ export interface ActionRowModalData {
23962396
}
23972397

23982398
export class ModalSubmitFields {
2399-
constructor(components: readonly (readonly ModalActionRowComponent[])[]);
2399+
private constructor(components: readonly (readonly ModalActionRowComponent[])[]);
24002400
public components: ActionRowModalData[];
24012401
public fields: Collection<string, ModalActionRowComponent>;
24022402
public getField<Type extends ComponentType>(customId: string, type: Type): { type: Type } & TextInputModalData;

0 commit comments

Comments
 (0)