Replies: 1 comment 3 replies
-
The short answer is because Go Marshalls |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a function defined in Go:
In TS I would call the function
App.d.ts
...but my TS function
getFileContent()
would return base64 (string) in the console.This make the export function in
App.d.ts
unrealizable, since it would return a different type (typePromise<string>
instead of typePromise<Array<number>>
) as how it was automatically defined inwailsjs
folder.How do I resolve this mistype issue?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions