AIDK API Reference / aidk-shared / markAsContentComponent
Function: markAsContentComponent() ​
ts
function markAsContentComponent<T>(fn: T): T;Defined in: packages/shared/src/identity.ts:116
Mark a function as a content component.
Type Parameters ​
| Type Parameter |
|---|
T extends Function |
Parameters ​
| Parameter | Type | Description |
|---|---|---|
fn | T | The function to mark |
Returns ​
T
The same function marked as a content component