Question · Vue.js course · Module 15: TypeScript & Nuxt

Imported Ref Type

How do you import the Ref type from Vue to use it explicitly?

Answer options

  • import Ref from 'vue'
  • import { type Ref } from 'vue'
  • import { RefType } from 'vue'
  • import * as Ref from 'vue/ref'

You can check the correct answer by solving this task in the CodeWorlds game.