Przeglądaj źródła

chore: use explicit type import to avoid Rollup warning

Evan You 4 lat temu
rodzic
commit
30c33af839
1 zmienionych plików z 1 dodań i 1 usunięć
  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',