You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Property '' does not exist on type 'Promise<Uint8Array> | Promise<any>| Promise<URLSearchParams> | FormDataReader | Promise<string>|undefined'.deno-ts
#12340
I am a new Deno learner following a tutorial video. The following code is a part of the tutorial's Authentication file code. As it's written by previous version of Deno has some errors that I could resolve most of them except the following errors:
Property 'name' does not exist on type 'Promise<Uint8Array> | Promise<any> | Promise<URLSearchParams> | FormDataReader | Promise<string> | undefined'.deno-ts(2339)
Property 'email' does not exist on type 'Promise<Uint8Array> | Promise<any> | Promise<URLSearchParams> | FormDataReader | Promise<string> | undefined'.deno-ts(2339)
Property 'password' does not exist on type 'Promise<Uint8Array> | Promise<any> | Promise<URLSearchParams> | FormDataReader | Promise<string> | undefined'.deno-ts(2339)
Second error:
Property 'email' does not exist on type 'Promise<Uint8Array> | Promise<any> | Promise<URLSearchParams> | FormDataReader | Promise<string> | undefined'.deno-ts(2339)
Property 'password' does not exist on type 'Promise<Uint8Array> | Promise<any> | Promise<URLSearchParams> | FormDataReader | Promise<string> | undefined'.deno-ts(2339)
I can't understand what does it mean and how can I fix them?
This discussion was converted from issue #12334 on October 06, 2021 01:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am a new Deno learner following a tutorial video. The following code is a part of the tutorial's Authentication file code. As it's written by previous version of Deno has some errors that I could resolve most of them except the following errors:
First error:
Second error:
I can't understand what does it mean and how can I fix them?
PS: The whole project code can be find here: https://github.com/thecodeholic/deno-survey
Beta Was this translation helpful? Give feedback.
All reactions