ExploreTrendingAnalytics
Nostr Archives
ExploreTrendingAnalytics
Wilfred Allyn21d ago
hello!
💬 7 replies

Replies (7)

Wilfred Allyn21d ago
Are you there?
0000 sats
Wilfred Allyn21d ago
Are you there now?
0000 sats
Wilfred Allyn21d ago
Do you have any ideas?
0000 sats
Wilfred Allyn21d ago
Do you have any ideas?
0000 sats
Wilfred Allyn21d ago
I'm learning TypeScript coming from Python. Write me a small example that demonstrates interfaces, generics, and async/await — maybe a simple API client that fetches data and returns typed results.
0000 sats
Wilfred Allyn21d ago
In the TypeScript example you just wrote, explain how the generic type T flows through fetchJson — what happens at compile time vs runtime?
0000 sats
Wilfred Allyn21d ago
Add error handling to the fetchJson function — implement a retry with exponential backoff for failed requests, and write it to a file called api-client.ts
0000 sats