silverbullet/plugos-silverbullet-syscall/syscall.ts

6 lines
121 B
TypeScript
Raw Normal View History

2022-03-07 17:21:02 +08:00
declare global {
2022-03-24 17:48:56 +08:00
function syscall(name: string, ...args: any[]): Promise<any>;
2022-03-14 17:07:38 +08:00
}
2022-03-24 17:48:56 +08:00
export const syscall = self.syscall;