Fix StartOS 0.4 TypeScript packaging to match SDK API
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import { Effects } from '../Effects';
|
||||
import { Host, HostId, PackageId } from '../osBindings';
|
||||
import { Watchable } from './Watchable';
|
||||
export declare class GetHostInfo extends Watchable<Host | null> {
|
||||
readonly opts: {
|
||||
hostId: HostId;
|
||||
packageId?: PackageId;
|
||||
};
|
||||
protected readonly label = "GetHostInfo";
|
||||
constructor(effects: Effects, opts: {
|
||||
hostId: HostId;
|
||||
packageId?: PackageId;
|
||||
});
|
||||
protected fetch(callback?: () => void): Promise<Host | null>;
|
||||
}
|
||||
Reference in New Issue
Block a user