Skip to content

Commit aa6ddc6

Browse files
committed
Why template arguments?
1 parent c609839 commit aa6ddc6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/type/definition.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,9 @@ export interface GraphQLScalarTypeConfig<TInternal, TExternal> {
366366
* your library or project. Do not use a shortened identifier as this increases
367367
* the risk of conflicts. We recommend you add at most one extension field,
368368
* an object which can contain all the values you need.
369+
*
370+
* We've provided these template arguments because this is an open type and
371+
* you may find them useful.
369372
*/
370373
export interface GraphQLObjectTypeExtensions<TSource = any, TContext = any> {
371374
[attributeName: string]: any;
@@ -493,6 +496,9 @@ export interface GraphQLResolveInfo {
493496
* your library or project. Do not use a shortened identifier as this increases
494497
* the risk of conflicts. We recommend you add at most one extension field,
495498
* an object which can contain all the values you need.
499+
*
500+
* We've provided these template arguments because this is an open type and
501+
* you may find them useful.
496502
*/
497503
export interface GraphQLFieldExtensions<
498504
TSource,

0 commit comments

Comments
 (0)