* Upgrade documentation for TypeScript support * Use `as` syntax to cast as documentation doesn't support <> syntax ATM * Add TypeScript notes to README and generally improve API docs