JSDoc importing from another file with webpack/ts alias

Viewed 144

Given:

/** @typedef {import('../../../store/modules/TypeA').TypeA} TypeA */  //resolves
/** @typedef {import('@/store/modules/TypeB').TypeB} TypeB */ //any

TypeA works, TypeB does not.

Is there a way for my IDE to respect my webpack configuration, or perhaps tsconfig.json with path alias?

0 Answers
Related