UNPKG

@react-gnome/gjs-esm-types

Version:

TypeScript module declarations for GJS ESM modules.

13 lines (12 loc) 306 B
declare module "gi://GLib?version=2.0" { interface MainLoop { /** * Similar to the `run` method. * * Starts the mainloop once the current module has been * initiated, and returns a promise that resolves once the * mainloop quits. */ runAsync(): Promise<void>; } }