Skip to content

Commit

Permalink
🔎 ref: Added links, types for _taskType
Browse files Browse the repository at this point in the history
  • Loading branch information
blackravenx committed Jun 10, 2024
1 parent 6575ee8 commit d6f378a
Show file tree
Hide file tree
Showing 83 changed files with 155 additions and 79 deletions.
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Recognition/AudioTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class AudioTask extends BaseTask implements _IsTaskType, AudioTaskParams
/**
* @type {boolean} _isAudioTask - Only used for correct method overloading intellisense
*/
readonly _isAudioTask = true;
readonly _isAudioTask: _IsTaskType["_isAudioTask"] = true;

/**
* Create AudioTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Recognition/BoundingBoxTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class BoundingBoxTask extends BaseTask implements _IsTaskType, BoundingBo
/**
* @type {boolean} _isBoundingBoxTask - Only used for correct method overloading intellisense
*/
readonly _isBoundingBoxTask = true;
readonly _isBoundingBoxTask: _IsTaskType["_isBoundingBoxTask"] = true;

/**
* Create BoundingBoxTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Recognition/CoordinatesTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class CoordinatesTask extends BaseTask implements _IsTaskType, Coordinate
/**
* @type {boolean} _isCoordinatesTask - Only used for correct method overloading intellisense
*/
readonly _isCoordinatesTask = true;
readonly _isCoordinatesTask: _IsTaskType["_isCoordinatesTask"] = true;

/**
* Create CoordinatesTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Recognition/DrawAroundTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class DrawAroundTask extends BaseTask implements _IsTaskType, DrawAroundT
/**
* @type {boolean} _isDrawAroundTask - Only used for correct method overloading intellisense
*/
readonly _isDrawAroundTask = true;
readonly _isDrawAroundTask: _IsTaskType["_isDrawAroundTask"] = true;

/**
* Create DrawAroundTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Recognition/GridTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class GridTask extends BaseTask implements _IsTaskType, GridTaskParams {
/**
* @type {boolean} _isGridTask - Only used for correct method overloading intellisense
*/
readonly _isGridTask = true;
readonly _isGridTask: _IsTaskType["_isGridTask"] = true;

/**
* Create GridTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Recognition/ImageToTextTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class ImageToTextTask extends BaseTask implements _IsTaskType, ImageToTex
/**
* @type {boolean} _isImageToTextTask - Only used for correct method overloading intellisense
*/
readonly _isImageToTextTask = true;
readonly _isImageToTextTask: _IsTaskType["_isImageToTextTask"] = true;

/**
* Create ImageToTextTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Recognition/RotateTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class RotateTask extends BaseTask implements _IsTaskType, RotateTaskParam
/**
* @type {boolean} _isRotateTask - Only used for correct method overloading intellisense
*/
readonly _isRotateTask = true;
readonly _isRotateTask: _IsTaskType["_isRotateTask"] = true;

/**
* Create RotateTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Recognition/TextCaptchaTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class TextCaptchaTask extends BaseTask implements _IsTaskType, TextCaptch
/**
* @type {boolean} _isTextCaptchaTask - Only used for correct method overloading intellisense
*/
readonly _isTextCaptchaTask = true;
readonly _isTextCaptchaTask: _IsTaskType["_isTextCaptchaTask"] = true;

/**
* Create TextCaptchaTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/AmazonTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class AmazonTask extends AmazonTaskBase implements _IsTaskType {
/**
* @type {boolean} _isAmazonTask - Only used for correct method overloading intellisense
*/
readonly _isAmazonTask = true;
readonly _isAmazonTask: _IsTaskType["_isAmazonTask"] = true;

/**
* Create AmazonTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/AmazonTaskProxyless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class AmazonTaskProxyless extends AmazonTaskBase implements _IsTaskType {
/**
* @type {boolean} _isKeyCaptchaTask - Only used for correct method overloading intellisense
*/
readonly _isAmazonTaskProxyless = true;
readonly _isAmazonTaskProxyless: _IsTaskType["_isAmazonTaskProxyless"] = true;

/**
* Create AmazonTaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/AntiCyberSiAraTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class AntiCyberSiAraTask extends AntiCyberSiAraTaskBase implements _IsTas
/**
* @type {boolean} _isAntiCyberSiAraTask - Only used for correct method overloading intellisense
*/
readonly _isAntiCyberSiAraTask = true;
readonly _isAntiCyberSiAraTask: _IsTaskType["_isAntiCyberSiAraTask"] = true;

/**
* Create AntiCyberSiAraTask
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class AntiCyberSiAraTaskProxyless extends AntiCyberSiAraTaskBase implemen
/**
* @type {boolean} _isAntiCyberSiAraTaskProxyless - Only used for correct method overloading intellisense
*/
readonly _isAntiCyberSiAraTaskProxyless = true;
readonly _isAntiCyberSiAraTaskProxyless: _IsTaskType["_isAntiCyberSiAraTaskProxyless"] = true;

/**
* Create AntiCyberSiAraTaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/Base/_AmazonTaskBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export abstract class AmazonTaskBase extends BaseTask implements AmazonTaskBaseP
proxyType?: ProxyTypes;

/**
* Create AmazonTaskBase
* AmazonTaskBase
* {@link https://2captcha.com/api-docs/amazon-aws-waf-captcha}
* @param {Object} params - AmazonTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export abstract class AntiCyberSiAraTaskBase extends BaseTask implements AntiCyb
proxyType?: ProxyTypes;

/**
* Create AntiCyberSiAraTaskBase
* AntiCyberSiAraTaskBase
* {@link https://2captcha.com/api-docs/anti-cyber-siara}
* @param {Object} params - CapyTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/Base/_CapyTaskBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export abstract class CapyTaskBase extends BaseTask implements CapyTaskBaseParam
proxyType?: ProxyTypes;

/**
* Create CapyTaskBase
* CapyTaskBase
* {@link https://2captcha.com/api-docs/capy-puzzle-captcha}
* @param {Object} params - CapyTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/Base/_CutCaptchaTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export abstract class CutCaptchaTaskBase extends BaseTask implements CutCaptchaT
proxyType?: ProxyTypes;

/**
* Create CutCaptchaTaskBase
* CutCaptchaTaskBase
* {@link https://2captcha.com/api-docs/cutcaptcha}
* @param {Object} params - CutCaptchaTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export abstract class DataDomeSliderTaskBase extends BaseTask implements DataDom
proxyType: ProxyTypes;

/**
* Create DataDomeSliderTaskBase
* DataDomeSliderTaskBase
* {@link https://2captcha.com/api-docs/datadome-slider-captcha}
* @param {Object} params - DataDomeSliderTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export abstract class FriendlyCaptchaTaskBase extends BaseTask implements Friend
proxyType?: ProxyTypes;

/**
* Create FriendlyCaptchaTaskBase
* FriendlyCaptchaTaskBase
* {@link https://2captcha.com/api-docs/friendly-captcha}
* @param {Object} params - FriendlyCaptchaTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export abstract class FunCaptchaTaskBase extends BaseTask implements FunCaptchaT
proxyType?: ProxyTypes;

/**
* Create FunCaptchaTaskBase
* FunCaptchaTaskBase
* {@link https://2captcha.com/api-docs/arkoselabs-funcaptcha}
* @param {Object} params - FunCaptchaTaskBaseParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/Base/_GeeTestTaskBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export abstract class GeeTestTaskBase extends BaseTask implements GeeTestTaskBas
proxyType?: ProxyTypes;

/**
* Create GeeTestTaskBase
* GeeTestTaskBase
* {@link https://2captcha.com/api-docs/geetest}
* @param {Object} params - GeeTestTaskBaseParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export abstract class GeeTestV3TaskBase extends BaseTask implements GeeTestV3Tas
proxyType?: ProxyTypes;

/**
* Create GeeTestV3TaskBase
* GeeTestV3TaskBase
* {@link https://2captcha.com/api-docs/geetest}
* @param {Object} params - GeeTestV3TaskBaseParams
* @param {string} [params.gt] - GeeTest gt value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export abstract class GeeTestV4TaskBase extends BaseTask implements GeeTestV4Tas
proxyType?: ProxyTypes;

/**
* Create GeeTestV4TaskBase
* GeeTestV4TaskBase
* {@link https://2captcha.com/api-docs/geetest}
* @param {Object} params - GeeTestV4TaskParams
* @param {object} [params.initParameters] - Required for GeeTest V4. Captcha parameters passed to initGeetest4 call, must contain captcha_id value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export abstract class HCaptchaTaskBase extends BaseTask implements HCaptchaTaskB
proxyType?: ProxyTypes;

/**
* Create HCaptchaTaskBase
* HCaptchaTaskBase
* {@link https://2captcha.com/api-docs/hcaptcha}
* @param {Object} params - HCaptchaTaskBaseParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export abstract class KeyCaptchaTaskBase extends BaseTask implements KeyCaptchaT
proxyType?: ProxyTypes;

/**
* Create KeyCaptchaTaskBase
* KeyCaptchaTaskBase
* {@link https://2captcha.com/api-docs/keycaptcha}
* @param {Object} params - KeyCaptchaTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/Base/_LeminTaskBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export abstract class LeminTaskBase extends BaseTask implements LeminTaskBasePar
proxyType?: ProxyTypes;

/**
* Create LeminTaskBase
* LeminTaskBase
* {@link https://2captcha.com/api-docs/lemin}
* @param {Object} params - LeminTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export abstract class RecaptchaV2TaskBase extends BaseTask implements RecaptchaV
proxyType?: ProxyTypes;

/**
* Create RecaptchaV2TaskBase
* RecaptchaV2TaskBase
* {@link https://2captcha.com/api-docs/recaptcha-v2}
* @param {Object} params - RecaptchaV2TaskBaseParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export abstract class RecaptchaV3TaskBase extends BaseTask implements RecaptchaV
isEnterprise?: boolean;

/**
* Create RecaptchaV3TaskBase
* RecaptchaV3TaskBase
* {@link https://2captcha.com/api-docs/recaptcha-v3}
* @param {Object} params - RecaptchaV3TaskBaseParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export abstract class TurnstileTaskBase extends BaseTask implements TurnstileTas
proxyType?: ProxyTypes;

/**
* Create TurnstileTaskBase
* TurnstileTaskBase
* {@link https://2captcha.com/api-docs/cloudflare-turnstile}
* @param {Object} params - TurnstileTaskParams
* @param {string} [params.websiteURL] - The full URL of target web page where the captcha is loaded. We do not open the page, not a problem if it is available only for authenticated users
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/CapyTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class CapyTask extends CapyTaskBase implements _IsTaskType {
/**
* @type {boolean} _isCapyTask - Only used for correct method overloading intellisense
*/
readonly _isCapyTask = true;
readonly _isCapyTask: _IsTaskType["_isCapyTask"] = true;

/**
* Create CapyTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/CapyTaskProxyless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class CapyTaskProxyless extends CapyTaskBase implements _IsTaskType {
/**
* @type {boolean} _isCapyTaskProxyless - Only used for correct method overloading intellisense
*/
readonly _isCapyTaskProxyless = true;
readonly _isCapyTaskProxyless: _IsTaskType["_isCapyTaskProxyless"] = true;

/**
* Create CapyTaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/CutCaptchaTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class CutCaptchaTask extends CutCaptchaTaskBase implements _IsTaskType {
/**
* @type {boolean} _isCutCaptchaTask - Only used for correct method overloading intellisense
*/
readonly _isCutCaptchaTask = true;
readonly _isCutCaptchaTask: _IsTaskType["_isCutCaptchaTask"] = true;

/**
* Create CutCaptchaTask
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class CutCaptchaTaskProxyless extends CutCaptchaTaskBase implements _IsTa
/**
* @type {boolean} _isCutCaptchaTask - Only used for correct method overloading intellisense
*/
readonly _isCutCaptchaTaskProxyless = true;
readonly _isCutCaptchaTaskProxyless: _IsTaskType["_isCutCaptchaTaskProxyless"] = true;

/**
* Create CutCaptchaTaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/DataDomeSliderTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class DataDomeSliderTask extends DataDomeSliderTaskBase implements _IsTas
/**
* @type {boolean} _isDataDomeSliderTask - Only used for correct method overloading intellisense
*/
readonly _isDataDomeSliderTask = true;
readonly _isDataDomeSliderTask: _IsTaskType["_isDataDomeSliderTask"] = true;

/**
* Create DataDomeSliderTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/FriendlyCaptchaTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class FriendlyCaptchaTask extends FriendlyCaptchaTaskBase implements _IsT
/**
* @type {boolean} _isFriendlyCaptchaTask - Only used for correct method overloading intellisense
*/
readonly _isFriendlyCaptchaTask = true;
readonly _isFriendlyCaptchaTask: _IsTaskType["_isFriendlyCaptchaTask"] = true;

/**
* Create FriendlyCaptchaTask
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class FriendlyCaptchaTaskProxyless extends FriendlyCaptchaTaskBase implem
/**
* @type {boolean} _isFriendlyCaptchaTaskProxyless - Only used for correct method overloading intellisense
*/
readonly _isFriendlyCaptchaTaskProxyless = true;
readonly _isFriendlyCaptchaTaskProxyless: _IsTaskType["_isFriendlyCaptchaTaskProxyless"] = true;

/**
* Create FriendlyCaptchaTaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/FunCaptchaTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class FunCaptchaTask extends FunCaptchaTaskBase implements _IsTaskType {
/**
* @type {boolean} _isFunCaptchaTask - Only used for correct method overloading intellisense
*/
readonly _isFunCaptchaTask = true;
readonly _isFunCaptchaTask: _IsTaskType["_isFunCaptchaTask"] = true;

/**
* Create FunCaptchaTask
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class FunCaptchaTaskProxyless extends FunCaptchaTaskBase implements _IsTa
/**
* @type {boolean} _isFunCaptchaTaskProxyless - Only used for correct method overloading intellisense
*/
readonly _isFunCaptchaTaskProxyless = true;
readonly _isFunCaptchaTaskProxyless: _IsTaskType["_isFunCaptchaTaskProxyless"] = true;

/**
* Create FunCaptchaTaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/GeeTestTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class GeeTestTask extends GeeTestTaskBase implements _IsTaskType {
/**
* @type {boolean} _isGeeTestTask - Only used for correct method overloading intellisense
*/
readonly _isGeeTestTask = true;
readonly _isGeeTestTask: _IsTaskType["_isGeeTestTask"] = true;

/**
* Create GeeTestTask
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/GeeTestTaskProxyless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class GeeTestTaskProxyless extends GeeTestTaskBase implements _IsTaskType
/**
* @type {boolean} _isGeeTestTaskProxyless - Only used for correct method overloading intellisense
*/
readonly _isGeeTestTaskProxyless = true;
readonly _isGeeTestTaskProxyless: _IsTaskType["_isGeeTestTaskProxyless"] = true;

/**
* Create GeeTestTaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/GeeTestV3Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class GeeTestV3Task extends GeeTestV3TaskBase implements _IsTaskType {
/**
* @type {boolean} _isGeeTestTask - Only used for correct method overloading intellisense
*/
readonly _isGeeTestTask = true;
readonly _isGeeTestTask: _IsTaskType["_isGeeTestTask"] = true;

/**
* Create GeeTestV3Task
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class GeeTestV3TaskProxyless extends GeeTestV3TaskBase implements _IsTask
/**
* @type {boolean} _isGeeTestTaskProxyless - Only used for correct method overloading intellisense
*/
readonly _isGeeTestTaskProxyless = true;
readonly _isGeeTestTaskProxyless: _IsTaskType["_isGeeTestTaskProxyless"] = true;

/**
* Create GeeTestV3TaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/GeeTestV4Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class GeeTestV4Task extends GeeTestV4TaskBase implements _IsTaskType {
/**
* @type {boolean} _isGeeTestTask - Only used for correct method overloading intellisense
*/
readonly _isGeeTestTask = true;
readonly _isGeeTestTask: _IsTaskType["_isGeeTestTask"] = true;

/**
* Create GeeTestV4Task
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class GeeTestV4TaskProxyless extends GeeTestV4TaskBase implements _IsTask
/**
* @type {boolean} _isGeeTestTaskProxyless - Only used for correct method overloading intellisense
*/
readonly _isGeeTestTaskProxyless = true;
readonly _isGeeTestTaskProxyless: _IsTaskType["_isGeeTestTaskProxyless"] = true;

/**
* Create GeeTestV4TaskProxyless
Expand Down
2 changes: 1 addition & 1 deletion twocaptcha/src/lib/Requests/Token/HCaptchaTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class HCaptchaTask extends HCaptchaTaskBase implements _IsTaskType {
/**
* @type {boolean} _isHCaptchaTask - Only used for correct method overloading intellisense
*/
readonly _isHCaptchaTask = true;
readonly _isHCaptchaTask: _IsTaskType["_isHCaptchaTask"] = true;

/**
* Create HCaptchaTask
Expand Down
Loading

0 comments on commit d6f378a

Please sign in to comment.