add files listing
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { NativeModule, requireNativeModule } from 'expo';
|
||||
import { ExpoDownloadDetectModuleEvents, FileDetectedEvent } from './ExpoDownloadDetect.types';
|
||||
|
||||
declare class ExpoDownloadDetectModule extends NativeModule<ExpoDownloadDetectModuleEvents> {
|
||||
startWatching(): void;
|
||||
stopWatching(): void;
|
||||
getRecentDownloads(): Promise<FileDetectedEvent[]>;
|
||||
}
|
||||
|
||||
export default requireNativeModule<ExpoDownloadDetectModule>('ExpoDownloadDetect');
|
||||
Reference in New Issue
Block a user