react-native-fs-turbo
Version:
React-Native library for working with Android/iOS file system, written using JSI and C++ TurboModules
22 lines (21 loc) • 708 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getRNFSTurboPlatformContextTurboModule = getRNFSTurboPlatformContextTurboModule;
var _reactNative = require("react-native");
var _ModuleNotFoundError = require("./ModuleNotFoundError");
let _module;
function getRNFSTurboPlatformContextTurboModule() {
try {
if (_module == null) {
// 1. Get the TurboModule
_module = _reactNative.TurboModuleRegistry.getEnforcing("RNFSTurboPlatformContextModule");
}
return _module;
} catch {
// TurboModule could not be found!
throw new _ModuleNotFoundError.ModuleNotFoundError();
}
}
//# sourceMappingURL=NativeRNFSTurboPlatformContextModule.js.map
;