Bladeren bron

chore: use explicit type import to avoid Rollup warning

Evan You 4 jaren geleden
bovenliggende
commit
30c33af839
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      packages/reactivity/src/reactive.ts

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

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