Closed bryanltobing closed 6 months ago
yeah same error here
edit: did a little checking
the error will be fixed just by adding /src after react-native-appwrite
like this
import { Account } from "react-native-appwrite/src";
because the index.ts file is in src folder
@SayanDasDev this works, but hopefully it will be properly fixed
Until it is fixed, you can use my extended SDK. https://github.com/Arietta-Studio/appwrite-sdk-ts. Hope it helps.
👟 Reproduction steps
i created an empty expo app
install
react-native-appwrite
using this command👍 Expected behavior
it should typed correctly
👎 Actual Behavior
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
MacOS
🧱 Your Environment
v0.2.2
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?