Просмотр исходного кода

chore: use explicit type import to avoid Rollup warning

Evan You 4 лет назад
Родитель
Сommit
30c33af839
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/reactivity/src/reactive.ts

+ 1 - 1
packages/reactivity/src/reactive.ts

@@ -11,7 +11,7 @@ import {
   shallowCollectionHandlers,
   shallowReadonlyCollectionHandlers
 } from './collectionHandlers'
-import { UnwrapRefSimple, Ref, RawSymbol } from './ref'
+import type { UnwrapRefSimple, Ref, RawSymbol } from './ref'
 
 export const enum ReactiveFlags {
   SKIP = '__v_skip',