Răsfoiți Sursa

chore: generate

opencode-agent[bot] 3 luni în urmă
părinte
comite
b0455583aa
1 a modificat fișierele cu 1 adăugiri și 6 ștergeri
  1. 1 6
      packages/opencode/src/util/named-schema-error.ts

+ 1 - 6
packages/opencode/src/util/named-schema-error.ts

@@ -32,12 +32,7 @@ export function namedSchemaError<Tag extends string, Fields extends Schema.Struc
     static readonly Schema = wire
     static readonly tag = tag
     public static isInstance(input: unknown): input is NamedSchemaError {
-      return (
-        typeof input === "object" &&
-        input !== null &&
-        "name" in input &&
-        (input as { name: unknown }).name === tag
-      )
+      return typeof input === "object" && input !== null && "name" in input && (input as { name: unknown }).name === tag
     }
 
     public override readonly name: Tag = tag