---
title: "EntryReach: interface in Reflection, TypeShade API reference"
description: "EntryReach, an interface in Reflection. What a set of entry points transitively reaches, as returned by reachFrom."
url: https://typeshade.dev/api/entryreach/
language: en
---

# `EntryReach`

Interface in Reflection

What a set of entry points transitively reaches, as returned by reachFrom.

`import type { EntryReach } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
interface EntryReach {
  readonly fns: Set<string>;
  readonly bindings: Set<string>;
  readonly refs: RefSet;
}
```

## Instance properties

**`fns` read only `Set<string>`**

Names of every function reachable through calls from the entries, the entries themselves included.

**`bindings` read only `Set<string>`**

Names of the module’s bindings that a reachable function reads or writes, plus the bindings a called intrinsic reads by name in its emitted code. A local variable that shares a binding’s name can only add a binding to this set; it never removes one.

**`refs` read only `RefSet`**

The underlying reference sets the walk collected: `calls` (function names), `vars` (variable and binding names) and `structs` (struct names), for a caller that also needs the struct names.

## See also

- [`reachFrom`](https://typeshade.dev/api/reachfrom/)

## Source

[`src/core/passes/stage-bindings.ts`, line 31](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/passes/stage-bindings.ts#L31), at commit af54ddad5
