From ea24f71d469e0e431d8a44e8278773b1941bac2f Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Thu, 28 May 2026 21:21:44 +0200 Subject: [PATCH] fix: twoslash expect error (#46) --- src/content/docs/clack/guides/best-practices.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/docs/clack/guides/best-practices.mdx b/src/content/docs/clack/guides/best-practices.mdx index 90a4747..8d5eca3 100644 --- a/src/content/docs/clack/guides/best-practices.mdx +++ b/src/content/docs/clack/guides/best-practices.mdx @@ -57,6 +57,7 @@ A [Standard Schema](https://github.com/standard-schema/standard-schema) can be u ```ts twoslash import { text } from '@clack/prompts'; +// @errors: 2322 import { type } from 'arktype'; const name = await text({ @@ -415,4 +416,4 @@ async function promptForPort(defaultPort: string) { // Use the reusable function const serverPort = await promptForPort('3000'); const dbPort = await promptForPort('5432'); -``` \ No newline at end of file +``` -- 2.51.2