---
title: "BindingsOf: type in Runtime, TypeShade API reference"
description: "BindingsOf, a type in Runtime. The bindings entry K of the manifest P reaches, as a draw or a dispatch passes them: BindingsOf<typeof mesh, 'vs'>."
url: https://typeshade.dev/api/bindingsof/
language: en
---

# `BindingsOf`

Type in Runtime

The bindings entry K of the manifest P reaches, as a draw or a dispatch passes them: `BindingsOf`<typeof mesh, 'vs'>.

`import type { BindingsOf } from 'typeshade/runtime'`

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

## Syntax

```ts
type BindingsOf<P extends Pack, K extends string> =
  P extends Pack<infer E> ? (K extends keyof E ? E[K] : never) : never;
```

## Description

An untyped manifest gives [`Bindings`](https://typeshade.dev/api/bindings/).

## See also

- [`Bindings`](https://typeshade.dev/api/bindings/)

## Source

[`src/runtime/program.ts`, line 393](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/program.ts#L393), at commit af54ddad5
