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
I have the following function:
pickFileCb(cb: (filepath: string | null) => void): void
but the generated swift methods is:
func pickFileCb(cb: @escaping ((_ filepath: String) -> Void)) throws -> Void
I also tried filepth: string | undefined and filepath?: string and all doesnt work.
filepth: string | undefined
filepath?: string
Note that it works with promises, so:
pickFileAsync(): Promise<string | null>
produces
func pickFileAsync() throws -> Promise<String?>
The text was updated successfully, but these errors were encountered:
Thanks for reporting, but this is a duplicate of #20
Sorry, something went wrong.
I found a fix for this: #143 :)
Successfully merging a pull request may close this issue.
I have the following function:
but the generated swift methods is:
I also tried
filepth: string | undefined
andfilepath?: string
and all doesnt work.Note that it works with promises, so:
produces
The text was updated successfully, but these errors were encountered: