Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { NativeModulesProxy } from '@unimodules/core';
import ExponentFileSystemShim from './ExponentFileSystemShim';
import { ExponentFileSystemModule } from './FileSystem.types';
let platformModule;
if (NativeModulesProxy.ExponentFileSystem) {
platformModule = NativeModulesProxy.ExponentFileSystem;
} else {
platformModule = ExponentFileSystemShim;
}
export default platformModule as ExponentFileSystemModule;
import { NativeModulesProxy } from '@unimodules/core';
import ExponentFileSystemShim from './ExponentFileSystemShim';
import { ExponentFileSystemModule } from './FileSystem.types';
let platformModule;
if (NativeModulesProxy.ExponentFileSystem) {
platformModule = NativeModulesProxy.ExponentFileSystem;
} else {
platformModule = ExponentFileSystemShim;
}
export default platformModule as ExponentFileSystemModule;
import { NativeModulesProxy } from '@unimodules/core';
import ExponentFileSystemShim from './ExponentFileSystemShim';
let platformModule;
if (NativeModulesProxy.ExponentFileSystem) {
platformModule = NativeModulesProxy.ExponentFileSystem;
}
else {
platformModule = ExponentFileSystemShim;
}
export default platformModule;
//# sourceMappingURL=ExponentFileSystem.js.map
import { NativeModulesProxy } from '@unimodules/core';
import ExponentFileSystemShim from './ExponentFileSystemShim';
let platformModule;
if (NativeModulesProxy.ExponentFileSystem) {
platformModule = NativeModulesProxy.ExponentFileSystem;
}
else {
platformModule = ExponentFileSystemShim;
}
export default platformModule;
//# sourceMappingURL=ExponentFileSystem.js.map