You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import * as FileSystem from 'expo-file-system';
import { InteractionManager } from 'react-native';
import { fileAsyncTransport, logger } from 'react-native-logs';
const consoleLog = logger.createLogger({
transport: fileAsyncTransport,
transportOptions: {
FS: FileSystem,
fileName: `logs_${new Date().toLocaleDateString()}.txt`,
},
asyncFunc: InteractionManager.runAfterInteractions,
});
But now it's complaining that
error TS2322: Type 'typeof import("C:/p/expo-experiments/node_modules/expo-file-system/build/index")' is not assignable to type 'RNFS | EXPOFS'.
Type 'typeof import("C:/p/expo-experiments/node_modules/expo-file-system/build/index")' is missing the following properties from type 'EXPOFS': DocumentDirectoryPath, appendFile
The text was updated successfully, but these errors were encountered:
This example used to work
But now it's complaining that
The text was updated successfully, but these errors were encountered: