Update TemporaryFile.ts

This commit is contained in:
Marc Rousavy 2021-03-08 18:00:29 +01:00
parent f051481010
commit b1f78c0807

View File

@ -3,7 +3,11 @@
*/ */
export interface TemporaryFile { export interface TemporaryFile {
/** /**
* The path of the file. This file might get deleted once the app closes because it lives in the temp directory. * The path of the file.
*
* * **Note:** If you want to consume this file (e.g. for displaying it in an `<Image>` component), you might have to add the `file://` prefix.
*
* * **Note:** This file might get deleted once the app closes because it lives in the temp directory.
*/ */
path: string; path: string;
} }