Skip to content

⬅️ Back to Table of Contents

📄 ImplicitGlobalVariableDefinition

📊 Analysis Summary

Metric Count
🧱 Classes 1
📦 Imports 4

📚 Table of Contents

🛠️ File Location:

📂 packages/scope-manager/src/definition/ImplicitGlobalVariableDefinition.ts

📦 Imports

Name Source
NodeWithParent @typescript-eslint/types
TSESTree @typescript-eslint/types
DefinitionBase ./DefinitionBase
DefinitionType ./DefinitionType

Classes

ImplicitGlobalVariableDefinition

Extends: `DefinitionBase< DefinitionType.ImplicitGlobalVariable, NodeWithParent, null, TSESTree.BindingName

`

Class Code
export class ImplicitGlobalVariableDefinition extends DefinitionBase<
  DefinitionType.ImplicitGlobalVariable,
  NodeWithParent,
  null,
  TSESTree.BindingName
> {
  public readonly isTypeDefinition = false;
  public readonly isVariableDefinition = true;

  constructor(
    name: TSESTree.BindingName,
    node: ImplicitGlobalVariableDefinition['node'],
  ) {
    super(DefinitionType.ImplicitGlobalVariable, name, node, null);
  }
}

Generated by Syntax Scribe