SuperAPI AI Directory

ts-generics

Coding & development

View repository

Updated 10-16 07:07

About this skill

async function getUser(): Promise<User> {
  return fetch('/api').then(r => r.json() as User);
}
type Container<System> = { items: System[] };