Skip to content

Instantly share code, notes, and snippets.

@MichalZalecki MichalZalecki/HNPosts.ts Secret
Created Apr 23, 2019

Embed
What would you like to do?
const res = await axios.get("http://hn.algolia.com/api/v1/search?query=typescript");
const posts = HNPosts.decode(res.data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.