Skip to content

Commit 6f6bb30

Browse files
authored
Merge pull request #4556 from aryaemami59/export-Mutation-and-QueryExtraOptions
2 parents c91db2b + 0b5dcc5 commit 6f6bb30

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/toolkit/src/query/endpointDefinitions.ts

+6
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ type QueryTypes<
266266
ReducerPath: ReducerPath
267267
}
268268

269+
/**
270+
* @public
271+
*/
269272
export interface QueryExtraOptions<
270273
TagTypes extends string,
271274
ResultType,
@@ -553,6 +556,9 @@ type MutationTypes<
553556
ReducerPath: ReducerPath
554557
}
555558

559+
/**
560+
* @public
561+
*/
556562
export interface MutationExtraOptions<
557563
TagTypes extends string,
558564
ResultType,

packages/toolkit/src/query/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ export type {
2525
EndpointBuilder,
2626
QueryDefinition,
2727
MutationDefinition,
28+
MutationExtraOptions,
2829
TagDescription,
2930
QueryArgFrom,
31+
QueryExtraOptions,
3032
ResultTypeFrom,
3133
DefinitionType,
3234
DefinitionsFromApi,

0 commit comments

Comments
 (0)