---
title: "ExternVarHandle: interface in Authoring, TypeShade API"
description: "ExternVarHandle, an interface in Authoring. The pair externVar returns: the read node, and the declaration to hand module()."
url: https://typeshade.dev/api/externvarhandle/
language: en
---

# `ExternVarHandle`

Interface in Authoring

The pair externVar returns: the read node, and the declaration to hand module().

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

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

## Syntax

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

## Instance properties

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

**`decl` read only `ExternVarDecl`**

## Source

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