chore: enable noUnusedLocals in schema, server, sdk and smaller packages (#52850)

This commit is contained in:
Kit Langton
2026-10-02 15:23:59 -07:00
committed by GitHub
Unverified
parent 680bca3183
commit eb1a9ea4d9
30 changed files with 20 additions and 42 deletions
-1
View File
@@ -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>],