Pārlūkot izejas kodu

Fix commonJS imports

Mathieu Acthernoene 6 gadus atpakaļ
vecāks
revīzija
cfa6577d93
3 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 1
    1
      index.js
  2. 1
    1
      lib/permissions.android.js
  3. 1
    1
      lib/permissions.ios.js

+ 1
- 1
index.js Parādīt failu

@@ -1,4 +1,4 @@
1 1
 // @flow
2 2
 
3 3
 import Permissions from './lib/permissions'
4
-export { Permissions as default }
4
+export default Permissions

+ 1
- 1
lib/permissions.android.js Parādīt failu

@@ -114,4 +114,4 @@ class ReactNativePermissions {
114 114
     )
115 115
 }
116 116
 
117
-module.exports = new ReactNativePermissions()
117
+export default new ReactNativePermissions()

+ 1
- 1
lib/permissions.ios.js Parādīt failu

@@ -104,4 +104,4 @@ class ReactNativePermissions {
104 104
     )
105 105
 }
106 106
 
107
-module.exports = new ReactNativePermissions()
107
+export default new ReactNativePermissions()