Skip to content

Commit 6bfe7b1

Browse files
committed
Perf docs feedback
1 parent cb160fd commit 6bfe7b1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/performance/getting-started.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,27 +51,27 @@ ngOnInit() {
5151
}
5252
```
5353

54-
### `trace(name, options?)`
54+
### `trace(name: string, options?: TraceOptions)`
5555

5656
The most basic operator, `trace` will measure the amount of time it takes for your observable to either complete or emit its first value. Beyond the basic trace there are several other operators:
5757

58-
### `traceUntil(name, test: (T) => Boolean, options?)`
58+
### `traceUntil(name: string, test: (T) => Boolean, options?: TraceOptions & { orComplete?: true })`
5959

6060
Trace the observable until the first emission that passes the provided test.
6161

6262
If the `orComplete` option is passed it will complete the trace when the observable completes, even if an emission never passed the provided test.
6363

64-
### `traceWhile(name, test: (T) => Boolean, options?)`
64+
### `traceWhile(name: string, test: (T) => Boolean, options?: TraceOptions & { orComplete?: true})`
6565

6666
Starting with an emission that passes the provided test, trace until an emission fails the test.
6767

6868
If the `orComplete` option is passed it will complete any existing trace when the observable completes.
6969

70-
### `traceUntilLast(name, options?)`
70+
### `traceUntilLast(name: string, options?: TraceOptions)`
7171

7272
Trace the observable until completion.
7373

74-
### `traceUntilFirst(name, options?)`
74+
### `traceUntilFirst(name: string, options?: TraceOptions)`
7575

7676
Traces the observable until the first emission.
7777

0 commit comments

Comments
 (0)