From 332a1dec972355ec04e050369395badd33bfd79a Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Sun, 5 Sep 2021 03:12:49 +0200 Subject: [PATCH] removed @exports in JSDoc --- src/errors.ts | 4 ---- src/structures/Bot.ts | 1 - src/structures/Parameter.ts | 2 -- src/structures/TextCommand.ts | 1 - src/types/Parameter.ts | 1 - 5 files changed, 9 deletions(-) diff --git a/src/errors.ts b/src/errors.ts index 05b7111..06b0288 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -6,7 +6,6 @@ import { ParameterType } from "./types/Parameter.js"; /** * @class Error indicating that a caller doesn't have enough permissions to execute a command * @extends Error - * @exports */ export class PermissionsError extends Error { private readonly command: BaseCommand; @@ -27,7 +26,6 @@ export class PermissionsError extends Error { /** * @class Error indicating that an input value cannot be converted to a expected type * @extends TypeError - * @exports */ export class ParameterTypeError extends TypeError { private readonly stringContent: string; @@ -48,7 +46,6 @@ export class ParameterTypeError extends TypeError { /** * @class Error indicating that a required parameter is missing in the request * @extends ReferenceError - * @exports */ export class MissingParameterError extends ReferenceError { private readonly argument: Parameter; @@ -65,7 +62,6 @@ export class MissingParameterError extends ReferenceError { /** * @class Entity indicating command execution success - * @exports */ export class OperationSuccess { public readonly command: BaseCommand; diff --git a/src/structures/Bot.ts b/src/structures/Bot.ts index fb2a375..2f07408 100644 --- a/src/structures/Bot.ts +++ b/src/structures/Bot.ts @@ -22,7 +22,6 @@ export declare interface Bot { /** * @class Class that represents your bot instance * @extends {EventEmitter} - * @exports */ export class Bot extends EventEmitter { /** diff --git a/src/structures/Parameter.ts b/src/structures/Parameter.ts index 0bcbe16..57faf27 100644 --- a/src/structures/Parameter.ts +++ b/src/structures/Parameter.ts @@ -3,7 +3,6 @@ import { ParameterType, ParameterResolvable, ParameterSchema } from "../types/Pa /** * @class Representation of command parameter - * @exports */ export class Parameter { /** @@ -65,7 +64,6 @@ export class DefaultParameter extends Parameter { /** * @class Representation of input parameter (argument) coming from a message or an interaction * @extends Parameter - * @exports */ export class InputParameter extends Parameter { /** diff --git a/src/structures/TextCommand.ts b/src/structures/TextCommand.ts index 0129d36..1a6ad19 100644 --- a/src/structures/TextCommand.ts +++ b/src/structures/TextCommand.ts @@ -5,7 +5,6 @@ import { DefaultParameter, InputParameter, Parameter } from "./Parameter.js"; /** * @class Class that represents a command instance - * @exports */ export class TextCommand extends BaseCommand { /** diff --git a/src/types/Parameter.ts b/src/types/Parameter.ts index d9b59aa..2a71bd2 100644 --- a/src/types/Parameter.ts +++ b/src/types/Parameter.ts @@ -7,7 +7,6 @@ export type ParameterResolvable = string | boolean | number | ObjectID | undefin /** * @interface * Properties required to build a {@link Parameter} object - * @exports */ export interface ParameterSchema { /**