File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ Any object type can extend the ``Document`` interface.
41
41
For more information on object types, see the
42
42
`TypeScript handbook <https://www.typescriptlang.org/docs/handbook/2/objects.html>`__.
43
43
44
- Extend Document
45
- ~~~~~~~~~~~~~~~
44
+ Parameters that Extend Document
45
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
46
47
47
The following classes accept all types that extend the ``Document`` interface
48
48
and are not recursive:
@@ -69,8 +69,8 @@ You can pass a type parameter that extends the ``Document`` interface like this:
69
69
:start-after: start-no-key
70
70
:end-before: end-no-key
71
71
72
- Any Type
73
- ~~~~~~~~
72
+ Paramaters of Any Type
73
+ ~~~~~~~~~~~~~~~~~~~~~~
74
74
75
75
The following classes accept any type parameter that is not recursive:
76
76
@@ -91,10 +91,10 @@ Limitations
91
91
You cannot specify a recursive type as a type parameter for the following
92
92
{+driver-long+} classes:
93
93
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>`__
98
98
99
99
The following code snippet defines a recursive type:
100
100
You can’t perform that action at this time.
0 commit comments