A little #JSDoc tip:
If you need to use a type definition in an external file multiple times, you don’t have to keep writing `import(…).type` over and over. Just create a new type definition in your local file and use that.
e.g.,
```js
/** @typedef {import('./SetupState.js').SetupStateType} SetupStateType */
const state = {
domain: /** @type SetupStateType */ (new SetupState('Domain')),
server: /** @type SetupStateType */ (new SetupState('Server')),
…
}
```