You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is in the code for Vue 2.7, which does not yet support the syntax for using import type. import type is the syntax in TypeScript for importing types without importing specific values. The Vue 2.x version usually uses JavaScript, not TypeScript.
What problem does this feature solve?
vue3
import type { CSSProperties } from 'vue' is correct
vue2.7
import type { CSSProperties } from 'vue' is error
What does the proposed API look like?
import type { CSSProperties } from 'vue' in 2.7 is correct
The text was updated successfully, but these errors were encountered: