Explorar el Código

chore: use explicit type import to avoid Rollup warning

Evan You hace 4 años
padre
commit
30c33af839
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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',