// @ts-check comment added at the top of the lib force typescript to validate your file
But typescript configuration is defined at project level and sas soon as you configure is with noImplicitAny or things like this, swagger2openapi code is no more valid at all.
This comment must be removed from the delivery