---
uid: application-development.code-weaving-and-generation.about-code-management-typescript
description: "Reference for TypeScript code management in Intent Architect using decorators or comments such as @IntentIgnore, @IntentMerge, and @IntentManageClass."
---
# TypeScript Code Management

This article explains how to control [Code Management](https://docs.intentarchitect.com/docs-md/application-development/code-management/about-code-management/about-code-management.md) (Code Weaving) behaviour for TypeScript files. The following table describes the various instructions that may be used to control which parts of the codebase Intent Architect manages, and which parts are managed by the developers, at a very fine-grained level of control.

| Instruction            | Description                                                                                                                                                                                                                                                                                           |
|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `@IntentIgnore()`      | Instructs Intent Architect to ignore this declaration (i.e. do not update or remove it).                                                                                                                                                                                                              |
| `@IntentIgnoreBody()`  | Instructs Intent Architect to ignore the body of the declaration, but allows it to manage the signature. This instruction is typically applied over _business-logic placeholder methods_ throughout the codebase.                                                                                     |
| `@IntentMerge()`       | Instructs Intent Architect to manage this declaration, allowing adding, updating, but not removing, of its child members. This instruction is typically used in areas of business logic to ensure that if the developer creates additional methods within a call, that those methods are not deleted. |
| `@IntentManage()`      | Instructs Intent Architect to manage this declaration, allowing adding, updating and removing of its child members. This instruction is useful in cases where Intent Architect is not fully managing a declaration and you would like it to.                                                          |
| `@IntentManageClass()` | Instructs Intent Architect to manage this class, allowing adding, updating and removing of its child members. Additional management options can be supplied to this instruction to instruct Intent Architect how to treat `methods`, `properties` and `constructors`.                                 |

> [!NOTE]
> Instructions can be applied as `decorators` (or `comments` if preferred, or where a decorator is not allowed) to any of the following declarations: `class`, `interface`, `constructor`, `method`, `property`, `function`, or `constant`.
