You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@taras thanks for posting this. It's one of those tricky things that I feel can overly complicate the templates to check... I've previously been cheeky with linting and added overrides. Do you know if it's possible to override noUnusedLocals in a particular file? What do you reckon?
Related: karlvr/openapi-generator-plus#34
Backstage projects use this config https://github.com/backstage/backstage/blob/master/packages/cli/config/tsconfig.json which includes
noUnusedLocals: true
.When I try to compile the project with code generated by typescript-fetch-client2, I get the following errors,
error TS6133: 'COLLECTION_FORMATS' is declared but its value is never read.
error TS6133: 'configuration' is declared but its value is never read.
error TS6133: 'mimeType' is declared but its value is never read.
error TS6133: 'dateToString' is declared but its value is never read.
Is it possible to detect when these are not necessary and not generating them?
The text was updated successfully, but these errors were encountered: