diff --git a/examples/react/standard-schema/src/index.tsx b/examples/react/standard-schema/src/index.tsx index a9595cdc9..6e463526f 100644 --- a/examples/react/standard-schema/src/index.tsx +++ b/examples/react/standard-schema/src/index.tsx @@ -17,7 +17,6 @@ function FieldInfo({ field }: { field: FieldApi }) { ) } -// @ts-ignore - Might be unused for demo purposes const ZodSchema = z.object({ firstName: z .string() @@ -26,7 +25,6 @@ const ZodSchema = z.object({ lastName: z.string().min(3, '[Zod] You must have a length of at least 3'), }) -// @ts-ignore - Might be unused for demo purposes const ValibotSchema = v.object({ firstName: v.pipe( v.string(), @@ -39,7 +37,6 @@ const ValibotSchema = v.object({ ), }) -// @ts-ignore - Might be unused for demo purposes const ArkTypeSchema = type({ firstName: 'string >= 3', lastName: 'string >= 3', diff --git a/examples/react/standard-schema/tsconfig.json b/examples/react/standard-schema/tsconfig.json index 22b43163b..f8f7ffb72 100644 --- a/examples/react/standard-schema/tsconfig.json +++ b/examples/react/standard-schema/tsconfig.json @@ -15,7 +15,7 @@ /* Linting */ "strict": true, - "noUnusedLocals": true, + "noUnusedLocals": false, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true },