1
1
mirror of https://github.com/urbit/shrub.git synced 2025-01-08 14:09:29 +03:00
shrub/pkg/interface/webterm/api.ts
2021-12-06 10:05:14 -05:00

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;