# types/sink.types.ts

> 9 lines of code and 2 definitions.

Tree: Governance tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/governance#file-governance-types-sink-types-ts
Source text: https://banes-lab.com/source/governance/types/sink.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/governance/types.md), after [types/rule.types.ts](https://banes-lab.com/source/governance/types/rule.types.ts.md) and before [types/syntax.types.ts](https://banes-lab.com/source/governance/types/syntax.types.ts.md).

## Definitions

- `SinkArgument` (interface_declaration, line 3, exported)
- `CopyHit` (interface_declaration, line 8, exported)

## Source

```typescript
import type { AstNode } from "./syntax.types.ts";

export interface SinkArgument {
    readonly argument: AstNode | null;
    readonly sink: string;
}

export interface CopyHit {
    readonly keyName: string;
    readonly value: AstNode;
}
```
