Skip to content

Commit 47ec306

Browse files
consistency
1 parent 4ba4c20 commit 47ec306

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/code-snippets/typescript/dot-notation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface TestNumber {
1919
myNumber: number;
2020
}
2121

22-
const database = client.db("<your db>");
22+
const database = client.db("<your database>");
2323
const collection = db.collection<TestNumber>("...");
2424
collection.find({ someRandomKey: "Accepts any type!" });
2525
// end-no-key

source/fundamentals/typescript.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The following code snippet uses the preceding recursive type:
104104

105105
.. code-block:: typescript
106106

107-
const database = client.db("<your db>");
107+
const database = client.db("<your database>");
108108
const col = database.collection<RecursiveType>("<your collection>");
109109
const document = await col.findOne({ i: 1 });
110110

0 commit comments

Comments
 (0)