This is because JSDoc types are documentation tags and TS Types are compilation instructions/safeguards. One generally chooses JSDocs when it is determined that type safeguards are not worth the maintenance and/or migration cost of converting to Typescript.
This is because JSDoc types are documentation tags and TS Types are compilation instructions/safeguards. One generally chooses JSDocs when it is determined that type safeguards are not worth the maintenance and/or migration cost of converting to Typescript.