# DependencyInterface interface · @imqueue/type-graphql-dependency

Source: https://imqueue.org/api/type-graphql-dependency/latest/type-graphql-dependency.dependencyinterface/
Published: 2026-07-31
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/type-graphql-dependency 3.0.3 — generated reference, not hand-written

The callable [Dependency](https://imqueue.org/api/type-graphql-dependency/latest/type-graphql-dependency.dependency/) exposes: a class in, its dependency description out, plus the schema it resolves classes against.

**Signature:**

```typescript
export interface DependencyInterface<T> 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [schema?](https://imqueue.org/api/type-graphql-dependency/latest/type-graphql-dependency.dependencyinterface.schema/) |  | GraphQLSchema | _(Optional)_ The built schema used to turn a class into its GraphQL type. |

