mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-21 04:12:08 +03:00
chore: enable noUnusedLocals in schema, server, sdk and smaller packages (#52850)
This commit is contained in:
committed by
GitHub
Unverified
parent
680bca3183
commit
eb1a9ea4d9
@@ -1919,7 +1919,6 @@ function renderSchemas(slots: ReadonlyArray<Slot>) {
|
||||
tagged.fields.map(([name, schema]) => ({ name: `Class${classIndex}${name}`, schema })),
|
||||
),
|
||||
]
|
||||
const [first, ...rest] = expanded
|
||||
const document = SchemaRepresentation.toCodeDocument(
|
||||
SchemaRepresentation.toRepresentations(
|
||||
codegenAsts(expanded.map((slot) => slot.schema.ast)) as [SchemaAST.AST, ...Array<SchemaAST.AST>],
|
||||
|
||||
Reference in New Issue
Block a user