Continuing in my quest for nice Vue DX without build steps… I’ve learned two things:

  • Even tho I’m using a downloaded ESM browser version, I can still install the Vue npm package and refer to its types from JSDoc.

  • The composition API is much easier to type than the options API.