diff options
Diffstat (limited to 'tools/node_modules/eslint/node_modules/rxjs/internal/operators/max.d.ts')
-rw-r--r-- | tools/node_modules/eslint/node_modules/rxjs/internal/operators/max.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/rxjs/internal/operators/max.d.ts b/tools/node_modules/eslint/node_modules/rxjs/internal/operators/max.d.ts index bb476b1967..59b00ddb74 100644 --- a/tools/node_modules/eslint/node_modules/rxjs/internal/operators/max.d.ts +++ b/tools/node_modules/eslint/node_modules/rxjs/internal/operators/max.d.ts @@ -8,6 +8,9 @@ import { MonoTypeOperatorFunction } from '../types'; * ## Examples * Get the maximal value of a series of numbers * ```javascript + * import { of } from 'rxjs'; + * import { max } from 'rxjs/operators'; + * * of(5, 4, 7, 2, 8).pipe( * max(), * ) @@ -16,6 +19,9 @@ import { MonoTypeOperatorFunction } from '../types'; * * Use a comparer function to get the maximal item * ```typescript + * import { of } from 'rxjs'; + * import { max } from 'rxjs/operators'; + * * interface Person { * age: number, * name: string |