Pārlūkot izejas kodu

Fixes compile error in metro pacakge

Mo 5 gadus atpakaļ
vecāks
revīzija
00fd814c38
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/index.js

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

@@ -177,7 +177,7 @@ export default class ViewShot extends Component<Props> {
177 177
   lastCapturedURI: ?string;
178 178
 
179 179
   resolveFirstLayout: (layout: Object) => void;
180
-  firstLayoutPromise = new Promise<void>(resolve => {
180
+  firstLayoutPromise = new Promise(resolve => {
181 181
     this.resolveFirstLayout = resolve;
182 182
   });
183 183