Skip to content

Commit fe2c75d

Browse files
committed
fix: fix mdx
1 parent 08e0096 commit fe2c75d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/custom-commands.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ To ensure TypeScript recognizes your custom commands, you need to augment the We
7474

7575
3. Write your type definitions as follows. Note that there are two file contexts in TypeScript: module and ambient. If you have at least one import/export in your file, the file is in "module" mode, otherwise it's in ambient. Choose declaration style accordingly.
7676

77-
<Tabs>
78-
<TabItem value="module" label="Module mode" default>
77+
<Tabs>
78+
<TabItem value="module" label="Module mode" default>
7979

8080
```typescript
8181
import 'webdriverio'; // Can be any import, not necessarily webdriverio
@@ -110,6 +110,6 @@ To ensure TypeScript recognizes your custom commands, you need to augment the We
110110

111111
</TabItem>
112112

113-
</Tabs>
113+
</Tabs>
114114

115115
This declaration extends the `Browser` and `Element` interfaces to include your custom commands, allowing TypeScript to recognize them without errors.

0 commit comments

Comments
 (0)