We added just enough integration to TypeScript with JSDoc to enable us to export a type interface. However, we’ve been using a very lenient version of TS. This becomes apparent as the strictness defaults change from TS 5.x to 6.x.
If it’s not too much of a lift, it would be good to fix this up at some point — seeing a tsconfig file with like "noImplicitAny": false will probably come off as a bit of a warning flag to onlookers.
For context, we were only specific about the types in the public interface, but there’s probably no reason to not simply declare that stuff on the internal interfaces as well.
We added just enough integration to TypeScript with JSDoc to enable us to export a type interface. However, we’ve been using a very lenient version of TS. This becomes apparent as the strictness defaults change from TS
5.xto6.x.If it’s not too much of a lift, it would be good to fix this up at some point — seeing a tsconfig file with like
"noImplicitAny": falsewill probably come off as a bit of a warning flag to onlookers.For context, we were only specific about the types in the public interface, but there’s probably no reason to not simply declare that stuff on the internal interfaces as well.