⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
@types
/
eslint-scope
/
Edit File: index.d.ts
// Type definitions for eslint-scope 3.7 // Project: https://github.com/eslint/eslint-scope // Definitions by: Toru Nagashima <https://github.com/mysticatea> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.8 import * as eslint from "eslint"; import * as estree from "estree"; export const version: string; export class ScopeManager implements eslint.Scope.ScopeManager { scopes: Scope[]; globalScope: Scope; acquire(node: {}, inner?: boolean): Scope | null; getDeclaredVariables(node: {}): Variable[]; } export class Scope implements eslint.Scope.Scope { type: "block" | "catch" | "class" | "for" | "function" | "function-expression-name" | "global" | "module" | "switch" | "with" | "TDZ"; isStrict: boolean; upper: Scope | null; childScopes: Scope[]; variableScope: Scope; block: estree.Node; variables: Variable[]; set: Map<string, Variable>; references: Reference[]; through: Reference[]; functionExpressionScope: boolean; } export class Variable implements eslint.Scope.Variable { name: string; scope: Scope; identifiers: estree.Identifier[]; references: Reference[]; defs: eslint.Scope.Definition[]; } export class Reference implements eslint.Scope.Reference { identifier: estree.Identifier; from: Scope; resolved: Variable | null; writeExpr: estree.Node | null; init: boolean; isWrite(): boolean; isRead(): boolean; isWriteOnly(): boolean; isReadOnly(): boolean; isReadWrite(): boolean; } export interface AnalysisOptions { optimistic?: boolean; directive?: boolean; ignoreEval?: boolean; nodejsScope?: boolean; impliedStrict?: boolean; fallback?: string | ((node: {}) => string[]); sourceType?: "script" | "module"; ecmaVersion?: number; } export function analyze(ast: {}, options?: AnalysisOptions): ScopeManager;
Simpan