Skip to content

Commit f61c9f1

Browse files
test
1 parent 1be07ca commit f61c9f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/fundamentals/typescript.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ The following code snippet uses the preceding recursive type:
111111

112112
.. code-block:: typescript
113113

114-
const database = client.db("<your database>");
115-
const col = database.collection<RecursiveType>("<your collection>");
114+
const col = client.db("<your database>").collection<RecursiveType>("<your collection>");
116115
const document = await col.findOne({ i: 1 });
117116

118117
The preceding code snippet raises the following error at compile time:

0 commit comments

Comments
 (0)