# CellTypeRegistry.remove Method

> CellTypeRegistry.remove method in the TX Sheet Control TypeScript API for Node.js: Removes a runtime registration. Includes the syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > CellTypeRegistry > CellTypeRegistry.remove Method
- **420 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/celltyperegistry/remove-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/celltyperegistry/remove-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/celltyperegistry/remove-method/llms-full.txt

---

Removes a runtime registration; stored cells retain their renderer name for another host to supply.

Owner: [CellTypeRegistry](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/celltyperegistry/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
remove(name: string): boolean
```

### Parameters

| Parameter | Type | Optional | Description |
|---|---|---|---|
| `name` | `string` | No | Name validated in the owning collection or document scope. |

### Return Value

`boolean`.

### Examples

Use a fresh sample workbook for this example. In the browser pass editor.workbook; in Node.js pass the server control. Document-bound objects are obtained from that same owner.

```typescript
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

function applyCellTypeRegistryRemove(control: ServerSheetControl) {
    const book = control.workbook;
    const cellTypeRegistry = book.cellTypes;

    const result = cellTypeRegistry.remove('approval');
    return result;
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [CellTypeRegistry Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/celltyperegistry/llms-full.txt)
- [Data Validation](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/validation/llms-full.txt)

---

## Nearby

- **Previous:** [CellTypeRegistry.register Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/celltyperegistry/register-method/llms-full.txt)
- **Next:** [CellValue Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/cellvalue/llms-full.txt)
