Hacker News new | ask | show | jobs
by mikewhy 1419 days ago
> You can't import JSDoc types from other files

Yes, you can. Using `import('./someFile').SomeType`

Though I do agree, JSDoc works, but isn't as nice as directly writing types in a .ts file