From 101ead6ec81863426bb413e577ed9e37ff59ca01 Mon Sep 17 00:00:00 2001 From: James Garbutt <43081j@users.noreply.github.com> Date: Sat, 7 Dec 2024 12:15:37 -0800 Subject: [PATCH] docs: use js syntax for examples Co-authored-by: Superchupu <53496941+SuperchupuDev@users.noreply.github.com> --- docs/modules/chalk.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/chalk.md b/docs/modules/chalk.md index b9bb9b0..4d699c6 100644 --- a/docs/modules/chalk.md +++ b/docs/modules/chalk.md @@ -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!')