TypeScript compilation errors if noUnusedLocals
, noUnusedParameters
, or exactOptionalPropertyTypes
are enabled
#1031
Labels
noUnusedLocals
, noUnusedParameters
, or exactOptionalPropertyTypes
are enabled
#1031
The code generated by
npx @edgedb/generate edgeql-js
causes TypeScript compilation errors ifnoUnusedLocals
,noUnusedParameters
, orexactOptionalPropertyTypes
are enabled intsconfig.json
.If all three are set to
false
, no errors occur.(Note: The issue template fields below are mostly empty because I've tried to reduce this to a minimum reproducible example.)
Code
No application code other than this
tsconfig.json
(based on Astro'sstrictest.json
):Schema
Error or desired behavior
Running
tsc
produces the following errors:Versions:
edgedb-js
version: 1.5.7@edgedb/generate
version: v0.5.3The text was updated successfully, but these errors were encountered: