---
source: crates/tinymist-query/src/hover.rs
expression: content
input_file: crates/tinymist-query/src/fixtures/hover/annotate_fn.typ
---
Range: 8:20:8:38

```typc
let touying-fn-wrapper(
  fn: (..: any) => any | function,
  ..args: arguments,
  max-repetitions: int | none = none,
  repetitions: int | none = none,
) = none;
```


======




# Positional Parameters

## fn

```typc
type: (..: any) => any | function
```

The `fn`.

# Rest Parameters

## args

```typc
type: arguments
```

The `args`.

# Named Parameters

## max-repetitions

```typc
type: int | none
```

The `max-repetitions`.

## repetitions (named)

```typc
type: int | none
```

The `repetitions`.
