# Add

`import { Add } from "destack:ops";`

Interface for the `+` operator.

`a + b` becomes `a.add(b)`.

```ds title="Add"
export newtype interface Add<T = this> {
    Output;
    add(other: T): this.Output;
}
```

[language/library/src/ops/plus.ds:5:11](https://github.com/destack-sh/destack/blob/main/language/library/src/ops/plus.ds#L5-L11)

## Members

### `Output`

The result type.

### `add(other: T): this.Output`

Add `other` to this value.
