---
title: "TS8011: an error code of the TypeShade compiler"
description: "TS8011, an error code of the TypeShade compiler. Retired codes. Its page quotes the registry, shows where the compiler raises it and how to fix it."
url: https://typeshade.dev/reference/errors/ts8011/
language: en
---

# `TS8011`

Retired number

Retired codes.

This number is retired. No diagnostic carries it, and the registry never gives it to another rule.

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

## When it fires

Retired codes. TS8012 was HOST\_API, a list of JavaScript globals refused by their spelling; a name nothing declares is UNKNOWN\_NAME, UNKNOWN\_FN or UNKNOWN\_TYPE by its position, and one the file declares is the file's ([Rule 2.1](https://typeshade.dev/reference/rules/2-1/)). A gap is never reused.

## The rule this enforces

**[Rule 2.1](https://typeshade.dev/reference/rules/2-1/) Test**

Every author-facing name must come from exactly one of three sources:

## See also

**[`TS8012`](https://typeshade.dev/reference/errors/ts8012/)**

Retired codes.

- [Error codes](https://typeshade.dev/reference/errors/)

## Source

The compiler source names this code nowhere outside its registry.
