Skip to content

Commit a758cdd

Browse files
cc - break recursive example intro into sentence
1 parent b35c0d9 commit a758cdd

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

source/fundamentals/typescript.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ For more information on object types, see the
4444
Extend Document
4545
~~~~~~~~~~~~~~~
4646

47-
The following classes accept all :ref:`non-recursive <node-driver-limitations>`
48-
types that extends the ``Document`` interface:
47+
The following classes accept all types that extends the ``Document`` interface
48+
and that are not recursive:
4949

5050
- `Collection <{+api+}/classes/Collection.html>`__
5151
- `ChangeStream <{+api+}/classes/ChangeStream.html>`__
5252

53+
To view an example of a recursive type, see the :ref:`<node-driver-limitations>` section.
54+
5355
You can pass a type parameter that extends the ``Document`` interface like this:
5456

5557
.. literalinclude:: /code-snippets/typescript/extend-document.ts
@@ -71,11 +73,13 @@ Any Type
7173
~~~~~~~~
7274

7375
The following classes accept any :ref:`non-recursive <node-driver-limitations>`
74-
type parameter:
76+
type parameter that is not recursive:
7577

7678
- `FindCursor <{+api+}/classes/FindCursor.html>`__
7779
- `AggregationCursor <{+api+}/classes/AggregationCursor.html>`__
7880

81+
To view an example of a recursive type, see the :ref:`<node-driver-limitations>` section.
82+
7983
You can find a code snippet that shows how to specify a type for the ``FindCursor``
8084
class in the
8185
:ref:`Find Multiple Documents Usage Example <node-driver-find-usage-example-code-snippet>`.

0 commit comments

Comments
 (0)