Vue devs, help!

Trying to get type support in regular JS using Vue’s ESM browser build.

Inside of the hasName computed value, VSCode thinks `this` refers to the `computed` object rather than the Vue app. What can I do here?

const test = createApp({
  data: () => ({
    name: 'Testing'
  }),

  computed: {
    hasName() {
      return !!this.name;
    }
  }
});

social.lol/@bw/111309530389909270