---
title: "CapabilityRow: interface in Backends, TypeShade API"
description: "CapabilityRow, an interface in Backends. One row of the capability matrix: a capability and how each backend supports it."
url: https://typeshade.dev/api/capabilityrow/
language: en
---

# `CapabilityRow`

Interface in Backends

One row of the capability matrix: a capability and how each backend supports it.

`import type { CapabilityRow } from 'typeshade'`

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

## Syntax

```ts
interface CapabilityRow {
  readonly capability: Capability;
  readonly support: Readonly<Record<string, CapSupportKind>>;
  readonly declarable: boolean;
}
```

## Instance properties

**`capability` read only `Capability`**

**`support` read only `Readonly<Record<string, CapSupportKind>>`**

Keyed by `Backend.id`, one entry per backend passed in.

**`declarable` read only `boolean`**

Whether a module may name this capability in `enables`. False for the nine capabilities derived from a module’s shape (`storageBuffer` through `textureGather`, `bgra8unormStorage` and `packed4x8Dot`), which [`DeclarableCapability`](https://typeshade.dev/api/declarablecapability/) excludes from `enables`.

## See also

- [`DeclarableCapability`](https://typeshade.dev/api/declarablecapability/)

## Source

[`src/core/backend.ts`, line 367](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/backend.ts#L367), at commit af54ddad5
