Преглед изворни кода

Use export type instead of export {} to fix isolatedModules

Janic Duplessis пре 4 година
родитељ
комит
cb41a986a3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/index.tsx

+ 1
- 1
src/index.tsx Прегледај датотеку

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