mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 18:01:32 +03:00
9 lines
210 B
TypeScript
9 lines
210 B
TypeScript
import Urbit from '@urbit/http-api';
|
|
const api = new Urbit('', '', (window as any).desk);
|
|
api.ship = window.ship;
|
|
// api.verbose = true;
|
|
// @ts-ignore TODO window typings
|
|
window.api = api;
|
|
|
|
export default api;
|