Skip to content

Commit

Permalink
Add missing 's' in docs - additional-decorators.md (MichalLytek#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillSBarsukov authored Dec 12, 2022
1 parent c975e0a commit c095fcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/advanced/additional-decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ applyRelationResolversEnhanceMap({
});
```

In case of other output types like `AggregateFooBar`, you can use the same pattern but this time using the `applyOutputTypeEnhanceMap` function and `OutputTypeConfig` or `OutputTypesEnhanceMap` types:
In case of other output types like `AggregateFooBar`, you can use the same pattern but this time using the `applyOutputTypesEnhanceMap` function and `OutputTypeConfig` or `OutputTypesEnhanceMap` types:

```ts
const aggregateClientConfig: OutputTypeConfig<"AggregateClient"> = {
Expand All @@ -164,7 +164,7 @@ const aggregateClientConfig: OutputTypeConfig<"AggregateClient"> = {
},
};

applyOutputTypeEnhanceMap({
applyOutputTypesEnhanceMap({
// separate config
AggregateClient: aggregateClientConfig,
// or an inline one
Expand Down

0 comments on commit c095fcc

Please sign in to comment.