Last active 22 hours ago

kat's Avatar kat revised this gist 22 hours ago. Go to revision

1 file changed, 22 insertions

error.ts(file created)

@@ -0,0 +1,22 @@
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
Newer Older