|
|
|
|
|
by syspec
1039 days ago
|
|
Agree, any complex types just get placed in their own `.d.ts` file, and import that into JSDoc comments /// Top of file usually
/**
* @typedef {import('./typedefs/MyThing')} MyThing
*/
/// Later
/**
* @param {MyThing} x
*/
function(x) {
//
}
|
|