Skip to content

Commit

Permalink
docs: use js syntax for examples
Browse files Browse the repository at this point in the history
Co-authored-by: Superchupu <[email protected]>
  • Loading branch information
43081j and SuperchupuDev authored Dec 7, 2024
1 parent 88dc41a commit 101ead6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/chalk.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Node itself has a `styleText` function in the built-in `util` library.

You can use it like so:

```ts
```js
import { styleText } from 'node:util';

styleText('green', 'Success!')
Expand Down

0 comments on commit 101ead6

Please sign in to comment.