File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,26 @@ Example
3434
3535.. include:: /includes/connect-guide-note.rst
3636
37- .. literalinclude:: /code-snippets/usage-examples/command.js
38- :language: javascript
39- :linenos:
37+ .. tabs::
4038
39+ .. tab:: JavaScript
40+ :tabid: javascript
41+
42+ .. literalinclude:: /code-snippets/usage-examples/command.js
43+ :language: javascript
44+ :linenos:
45+
46+ .. tab:: TypeScript
47+ :tabid: typescript
48+
49+ .. literalinclude:: /code-snippets/usage-examples/command.js
50+ :language: javascript
51+ :linenos:
52+
53+ .. note:: Identical Code Snippets
54+
55+ The JavaScript and TypeScript code snippets above are identical. There are no
56+ TypeScript specific features of the driver relevant to this use case.
4157
4258When you run the above command, you should see output similar to the
4359following:
You can’t perform that action at this time.
0 commit comments