---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/artifacts/variables/E_TYPESCRIPT_PEER_MISSING.md
description: Thrown when the TypeScript peer dependency fails to load.
---

# Variable: E\_TYPESCRIPT\_PEER\_MISSING

```ts
const E_TYPESCRIPT_PEER_MISSING: CreatedException<[string]>;
```

Defined in: [src/batteries/artifacts/ecmascript/exceptions.ts:22](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/artifacts/ecmascript/exceptions.ts#L22)

Thrown when the TypeScript peer dependency fails to load.

## Remarks

The battery requires typescript as an optional peer. This exception surfaces when the
dynamic import fails, typically because the package is not installed or cannot be resolved.
The message template includes the package name, a description of its purpose, the underlying
error, and the exact install command, so the consumer sees a complete, actionable message
regardless of call site.
