Urara-Blog/node_modules/.pnpm-store/v3/files/32/8b15133bf06600bf42c6c8014bcaa751a7610dc6c4f7f5d211009762fa74da55bd3eb579e5e0d9005e7a4bc862b1009b82bfbe3f94084d0e2ba48b95a61ef8
2022-08-14 01:14:53 +08:00

34 lines
No EOL
1.4 KiB
Text

import { VariableBase } from './VariableBase';
import { TSESTree } from '@typescript-eslint/types';
/**
* ESLint defines global variables using the eslint-scope Variable class
* This is declared her for consumers to use
*/
declare class ESLintScopeVariable extends VariableBase {
/**
* Written to by ESLint.
* If this key exists, this variable is a global variable added by ESLint.
* If this is `true`, this variable can be assigned arbitrary values.
* If this is `false`, this variable is readonly.
*/
writeable?: boolean;
/**
* Written to by ESLint.
* This property is undefined if there are no globals directive comments.
* The array of globals directive comments which defined this global variable in the source code file.
*/
eslintExplicitGlobal?: boolean;
/**
* Written to by ESLint.
* The configured value in config files. This can be different from `variable.writeable` if there are globals directive comments.
*/
eslintImplicitGlobalSetting?: 'readonly' | 'writable';
/**
* Written to by ESLint.
* If this key exists, it is a global variable added by ESLint.
* If `true`, this global variable was defined by a globals directive comment in the source code file.
*/
eslintExplicitGlobalComments?: TSESTree.Comment[];
}
export { ESLintScopeVariable };
//# sourceMappingURL=ESLintScopeVariable.d.ts.map