We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In main.js shouldn't line 60:
main.js
.join(target.fallback ?? target.default ?? '')
be targets instead of target?
targets
target
I tried to create types because I am using TypeScript in my appwrite functions. My type definitions where:
interface TargetPrefs { appName?: string; appPath?: string; appPackage?: string; fallback?: string; } interface Targets { [platform: string]: string | TargetPrefs; } interface PathConfig { path: string; targets: Targets; }
The platform definitions in the CONFIG examples do not contain an example where a target/platform contains a default property.
default
Only targets have a property default which might be accessible.
Version 1.4.x
Linux
appwrite 1.4.3
nodeJS using TypeScript
The text was updated successfully, but these errors were encountered:
@theemaster, thanks for creating this issue! 🙏🏼 Yes, it seems like target.default should be targets.default
target.default
targets.default
Would you like to submit a PR?
Sorry, something went wrong.
stnguyen90
No branches or pull requests
👟 Reproduction steps
In
main.js
shouldn't line 60:be
targets
instead oftarget
?I tried to create types because I am using TypeScript in my appwrite functions. My type definitions where:
👍 Expected behavior
The platform definitions in the CONFIG examples do not contain an example where a target/platform contains a
default
property.👎 Actual Behavior
Only targets have a property
default
which might be accessible.🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
appwrite 1.4.3
nodeJS using TypeScript
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: