Skip to content

Commit efb3481

Browse files
fix: invalid JSDoc syntax httpMutation [backport v19]
1 parent dfe2834 commit efb3481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/ngrx-toolkit/src/lib/mutation/http-mutation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export type HttpMutation<Parameter, Result> = Mutation<Parameter, Result> & {
5959
/**
6060
* Creates an HTTP mutation.
6161
*
62+
* ```typescript
6263
* export type Params = {
6364
* value: number;
6465
* };
@@ -92,8 +93,6 @@ export type HttpMutation<Parameter, Result> = Mutation<Parameter, Result> & {
9293
* },
9394
* });
9495
*
95-
* ...
96-
*
9796
* const result = await this.saveUser({ value: 17 });
9897
* if (result.status === 'success') {
9998
* console.log('Successfully saved to server:', result.value);
@@ -104,6 +103,7 @@ export type HttpMutation<Parameter, Result> = Mutation<Parameter, Result> & {
104103
* else {
105104
* console.log('Operation aborted');
106105
* }
106+
* ```
107107
*
108108
* @param options The options for the HTTP mutation.
109109
* @returns The HTTP mutation.

0 commit comments

Comments
 (0)