Skip to content

Commit 1be07ca

Browse files
update subheadings
1 parent 079cd5e commit 1be07ca

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/fundamentals/typescript.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Any object type can extend the ``Document`` interface.
4141
For more information on object types, see the
4242
`TypeScript handbook <https://www.typescriptlang.org/docs/handbook/2/objects.html>`__.
4343

44-
Extend Document
45-
~~~~~~~~~~~~~~~
44+
Parameters that Extend Document
45+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4646

4747
The following classes accept all types that extend the ``Document`` interface
4848
and are not recursive:
@@ -69,8 +69,8 @@ You can pass a type parameter that extends the ``Document`` interface like this:
6969
:start-after: start-no-key
7070
:end-before: end-no-key
7171

72-
Any Type
73-
~~~~~~~~
72+
Paramaters of Any Type
73+
~~~~~~~~~~~~~~~~~~~~~~
7474

7575
The following classes accept any type parameter that is not recursive:
7676

@@ -91,10 +91,10 @@ Limitations
9191
You cannot specify a recursive type as a type parameter for the following
9292
{+driver-long+} classes:
9393

94-
- ``FindCursor``
95-
- ``AggregationCursor``
96-
- ``Collection``
97-
- ``ChangeStream``
94+
- `Collection <{+api+}/classes/Collection.html>`__
95+
- `ChangeStream <{+api+}/classes/ChangeStream.html>`__
96+
- `FindCursor <{+api+}/classes/FindCursor.html>`__
97+
- `AggregationCursor <{+api+}/classes/AggregationCursor.html>`__
9898

9999
The following code snippet defines a recursive type:
100100

0 commit comments

Comments
 (0)