error.ts
· 1.4 KiB · TypeScript
Raw
katproto_users.ts:55:63 - error TS2339: Property 'did' does not exist on type 'Promise<{ did: `did:${string}:${string}`; active: boolean; status: string; head: string; rev: string; display: string; handle: string; }>'.
55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`,
~~~
katproto_users.ts:55:63
55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`,
~~~
Did you forget to use 'await'?
katproto_users.ts:55:82 - error TS2339: Property 'display' does not exist on type 'Promise<{ did: `did:${string}:${string}`; active: boolean; status: string; head: string; rev: string; display: string; handle: string; }>'.
55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`,
~~~~~~~
katproto_users.ts:55:82
55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`,
~~~~~~~
Did you forget to use 'await'?
Found 2 errors in the same file, starting at: katproto_users.ts:55
| 1 | katproto_users.ts:55:63 - error TS2339: Property 'did' does not exist on type 'Promise<{ did: `did:${string}:${string}`; active: boolean; status: string; head: string; rev: string; display: string; handle: string; }>'. |
| 2 | |
| 3 | 55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`, |
| 4 | ~~~ |
| 5 | |
| 6 | katproto_users.ts:55:63 |
| 7 | 55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`, |
| 8 | ~~~ |
| 9 | Did you forget to use 'await'? |
| 10 | |
| 11 | katproto_users.ts:55:82 - error TS2339: Property 'display' does not exist on type 'Promise<{ did: `did:${string}:${string}`; active: boolean; status: string; head: string; rev: string; display: string; handle: string; }>'. |
| 12 | |
| 13 | 55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`, |
| 14 | ~~~~~~~ |
| 15 | |
| 16 | katproto_users.ts:55:82 |
| 17 | 55 `<li><a href="https://bsky.app/profile/${await repo.did}">${await repo.display}</a></li>`, |
| 18 | ~~~~~~~ |
| 19 | Did you forget to use 'await'? |
| 20 | |
| 21 | |
| 22 | Found 2 errors in the same file, starting at: katproto_users.ts:55 |