Yes, all of these are supported in JSDoc because they are supported in TypeScript. Because JSDoc is TypeScript. You can either define your types in JSDoc comments or in .ts files.
I really mean it. You can even use the @satisfies operator like so
/** @satisfies {Type} */
Discriminated unions, conditional types, mapped types, template literal types, etc work exactly the same way if you define them in a JSDoc comment as if you define them in a .ts file
Salesforce v2 is a pretty bull case for Palantir! This bias people have against against application platforms requiring a consultant ecosystem and per-customer installations is just not accurate - in software, as in the rest of the world, there are some areas where it's the right model to get things done efficiently. Walmart can't use an off-the-shelf CRM platform any more than US Steel could use an off-the-shelf furnace.
reply