Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update types #38

Merged
merged 4 commits into from May 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
return function descriptions
zeroxdead authored May 3, 2024
commit 0d1e922900a23925674cca4ca647b41bed8aebd5
4 changes: 4 additions & 0 deletions packages/gnome-shell/src/misc/fileUtils.d.ts
Original file line number Diff line number Diff line change
@@ -33,12 +33,16 @@ export function recursivelyDeleteDir(dir: Gio.File, deleteParent: boolean): void
export function recursivelyMoveDir(srcDir: Gio.File, destDir: Gio.File): void;

/**
* Load an interface xml file
*
* @param {string} iface the interface name
* @returns {string | null} the XML string or null if it is not found
*/
export function loadInterfaceXML(iface: string): string | null;

/**
* Load a subinterface xml file
*
* @param {string} iface the interface name
* @param {string} ifaceFile the interface filename
* @returns {string | null} the XML string or null if it is not found