Bläddra i källkod

Use export type instead of export {} to fix isolatedModules

Janic Duplessis 4 år sedan
förälder
incheckning
cb41a986a3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/index.tsx

+ 1
- 1
src/index.tsx Visa fil

@@ -42,4 +42,4 @@ export function useSafeArea(): EdgeInsets {
42 42
   return safeArea;
43 43
 }
44 44
 
45
-export { EdgeInsets };
45
+export type EdgeInsets = EdgeInsets;