---
title: "SD0012: statement sink not installed, a TypeShade error code"
description: "SD0012, an error code of the TypeShade compiler. statement sink not installed"
url: https://typeshade.dev/reference/errors/sd0012/
language: en
---

# `SD0012`

Core code

statement sink not installed

No `"use typeshade"` program on this site raises this code, so the page has no example. The [`fn()`](https://typeshade.dev/api/fn/) builder builds the IR directly and reaches the check at the lines under Source.

The registry text and every compiler message on these pages are the compiler's own English.

## How to fix it

The registry's hint: import typeshade from its entry, not a deep path

## See also

- [The `fn()` builder](https://typeshade.dev/api/fn/)
- [`TypeShadeError`](https://typeshade.dev/api/typeshadeerror/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

Where the compiler raises this code at commit af54ddad5, one line per file:

- [`src/core/ir/node.ts:167`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/node.ts#L167)
