Files
memecoin-botV2/.pnpm-store/v10/files/1f/09a78884714f809f8e45f759a912f8da8c0890ac5dfb444cf5eb3ee890112c1e2f0aed6992beb943046081692d308682a0e2ca3a460d73abbf0da597b41306

27 lines
986 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImplicitLibVariable = void 0;
const ESLintScopeVariable_1 = require("./ESLintScopeVariable");
/**
* An variable implicitly defined by the TS Lib
*/
class ImplicitLibVariable extends ESLintScopeVariable_1.ESLintScopeVariable {
/**
* `true` if the variable is valid in a type context, false otherwise
*/
isTypeVariable;
/**
* `true` if the variable is valid in a value context, false otherwise
*/
isValueVariable;
constructor(scope, name, { eslintImplicitGlobalSetting, isTypeVariable, isValueVariable, writeable, }) {
super(name, scope);
this.isTypeVariable = isTypeVariable ?? false;
this.isValueVariable = isValueVariable ?? false;
this.writeable = writeable ?? false;
this.eslintImplicitGlobalSetting =
eslintImplicitGlobalSetting ?? 'readonly';
}
}
exports.ImplicitLibVariable = ImplicitLibVariable;