# Pass (/docs/api/interfaces/Pass)



Defined in: [packages/core/src/passes/registry.ts:13](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/registry.ts#L13)

A named transform in the transpile pipeline. Passes declare the passes they
must run *after* via `runsAfter`; the registry topologically sorts them so
ordering is data, not a hand-maintained array.

## Properties [#properties]

### apply [#apply]

```ts
apply: PassFn;
```

Defined in: [packages/core/src/passes/registry.ts:18](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/registry.ts#L18)

***

### name [#name]

```ts
name: string;
```

Defined in: [packages/core/src/passes/registry.ts:15](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/registry.ts#L15)

Unique identifier, also used to reference this pass in `runsAfter`.

***

### runsAfter? [#runsafter]

```ts
optional runsAfter?: string[];
```

Defined in: [packages/core/src/passes/registry.ts:17](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/registry.ts#L17)

Names of passes that must run before this one. Unknown names are ignored.


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)