---
title: "OverrideHandle: interface in Authoring, TypeShade API"
description: "OverrideHandle, an interface in Authoring. The pair overrideConst returns for a pipeline specialization constant: .node reads the value…"
url: https://typeshade.dev/api/overridehandle/
language: en
---

# `OverrideHandle`

Interface in Authoring

The pair overrideConst returns for a pipeline specialization constant: .node reads the value, opaque to the optimizer, in any expression or branch condition, and .decl goes into module.

`import type { OverrideHandle } from 'typeshade'`
`import type { OverrideHandle } from 'typeshade/core/ir'`

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

## Syntax

```ts
interface OverrideHandle<K extends string> {
  readonly node: ReadonlyNode<K>;
  readonly decl: OverrideDecl;
}
```

## Instance properties

**`node` read only `ReadonlyNode<K>`**

**`decl` read only `OverrideDecl`**

## See also

- [`overrideConst`](https://typeshade.dev/api/overrideconst/)

## Source

[`src/core/ir/builder.ts`, line 1191](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/builder.ts#L1191), at commit af54ddad5
