From d17de361288136e05c7eca1babf2998ab1a87277 Mon Sep 17 00:00:00 2001 From: Josh Sandler Date: Wed, 23 Oct 2024 16:03:23 -0400 Subject: [PATCH] fix docs for language option --- docs/language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/language.md b/docs/language.md index 83b0328c98..a3d36d15cf 100644 --- a/docs/language.md +++ b/docs/language.md @@ -7,7 +7,7 @@ Specifies the SQL dialect to use. ```ts import { format } from 'sql-formatter'; -const result = format('SELECT * FROM tbl', { dialect: 'sqlite' }); +const result = format('SELECT * FROM tbl', { language: 'sqlite' }); ``` ## Options