Skip to content

Commit 3ade92c

Browse files
Merge pull request #822 from appwrite/fix-react-native-file-type
Fix react native File type
2 parents a006788 + f21795d commit 3ade92c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDK/Language/ReactNative.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function getTypeName(array $parameter, array $spec = []): string
146146
}
147147
return 'string[]';
148148
case self::TYPE_FILE:
149-
return 'any';
149+
return '{name: string, type: string, size: number, uri: string}';
150150
}
151151

152152
return $parameter['type'];

0 commit comments

Comments
 (0)