> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-serverless-sft-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# op

> TypeScript SDK 레퍼런스

# op

▸ **op**\<`T`>(`fn`, `options?`): [`Op`](../type-aliases/op)\<`T`>

#### 타입 파라미터

| 이름  | 타입                                     |
| :-- | :------------------------------------- |
| `T` | extends (...`args`: `any`\[]) => `any` |

#### 파라미터

| 이름         | 타입                |
| :--------- | :---------------- |
| `fn`       | `T`               |
| `options?` | `OpOptions`\<`T`> |

#### 반환값

[`Op`](../type-aliases/op)\<`T`>

#### 정의 위치

[op.ts:369](https://github.com/wandb/weave/blob/1aee4006a95d913addb45881dfc950de7ce7b0bd/sdks/node/src/op.ts#L369)

▸ **op**\<`T`>(`thisArg`, `fn`, `options?`): [`Op`](../type-aliases/op)\<`T`>

#### 타입 파라미터

| 이름  | 타입                                     |
| :-- | :------------------------------------- |
| `T` | extends (...`args`: `any`\[]) => `any` |

#### 파라미터

| 이름         | 타입                |
| :--------- | :---------------- |
| `thisArg`  | `any`             |
| `fn`       | `T`               |
| `options?` | `OpOptions`\<`T`> |

#### 반환값

[`Op`](../type-aliases/op)\<`T`>

#### 정의 위치

[op.ts:374](https://github.com/wandb/weave/blob/1aee4006a95d913addb45881dfc950de7ce7b0bd/sdks/node/src/op.ts#L374)

▸ **op**(`target`, `propertyKey`, `descriptor`): `TypedPropertyDescriptor`\<`any`>

#### 파라미터

| 이름            | 타입                                |
| :------------ | :-------------------------------- |
| `target`      | `Object`                          |
| `propertyKey` | `string` \| `symbol`              |
| `descriptor`  | `TypedPropertyDescriptor`\<`any`> |

#### 반환값

`TypedPropertyDescriptor`\<`any`>

#### 정의 위치

[op.ts:380](https://github.com/wandb/weave/blob/1aee4006a95d913addb45881dfc950de7ce7b0bd/sdks/node/src/op.ts#L380)

▸ **op**\<`T`>(`value`, `context`): [`Op`](../type-aliases/op)\<`T`>

#### 타입 파라미터

| 이름  | 타입                                     |
| :-- | :------------------------------------- |
| `T` | extends (...`args`: `any`\[]) => `any` |

#### 파라미터

| 이름        | 타입                       |
| :-------- | :----------------------- |
| `value`   | `T`                      |
| `context` | `MethodDecoratorContext` |

#### 반환값

[`Op`](../type-aliases/op)\<`T`>

#### 정의 위치

[op.ts:386](https://github.com/wandb/weave/blob/1aee4006a95d913addb45881dfc950de7ce7b0bd/sdks/node/src/op.ts#L386)

▸ **op**(`options`): `MethodDecorator`

#### 파라미터

| 이름        | 타입                              |
| :-------- | :------------------------------ |
| `options` | `Partial`\<`OpOptions`\<`any`>> |

#### 반환값

`MethodDecorator`

#### 정의 위치

[op.ts:391](https://github.com/wandb/weave/blob/1aee4006a95d913addb45881dfc950de7ce7b0bd/sdks/node/src/op.ts#L391)

***
