# createWsParamDecorator

**Kind:** Function

**Source:** [`packages/websockets/utils/param.utils.ts`](https://github.com/nestjs/nest/blob/master/packages/websockets/utils/param.utils.ts#L8)

**Part of:** [Websockets](subsystem-packages-websockets)

## Signature

```ts
function createWsParamDecorator(paramtype: WsParamtype): (...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator
```

## Parameters

| Name | Type |
|---|---|
| `paramtype` | `WsParamtype` |

**Returns:** `(...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator`

## Relationships

- IMPORTS → `PipeTransform`
- IMPORTS → `Type`
- IMPORTS → `assignMetadata`
- IMPORTS → `isNil`
- IMPORTS → `isString`
