# SourceFile context

```ts
const SourceFileContext: ComponentContext<SourceFileContext>
```

## Accessor

```ts
const myContext = useContext(SourceFileContext);
```

## Context interface

|           |                                  |   |
| --------- | -------------------------------- | - |
| addImport | (symbol: OutputSymbol) => string |   |
