diff --git a/Libraries/TurboModule/TurboModuleRegistry.js b/Libraries/TurboModule/TurboModuleRegistry.js index a31f736d7..33d2ce8b0 100644 --- a/Libraries/TurboModule/TurboModuleRegistry.js +++ b/Libraries/TurboModule/TurboModuleRegistry.js @@ -10,9 +10,10 @@ 'use strict'; +const NativeModules = require('NativeModules'); + import type {TurboModule} from 'RCTExport'; import invariant from 'invariant'; -import {NativeModules} from 'react-native'; // TODO function get(name: string): ?T {