Skip to content

Commit

Permalink
Add TODOs for upstreaming of typings
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Jan 1, 2024
1 parent 1e634b0 commit 64ecdeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions @types/gnome-shell/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// TODO: Replace with global import once https://github.com/gjsify/gnome-shell/pull/13 makes it into a release
interface String {
// GNOME Shell pollutes the String prototype with its own format function
format(...args: unknown[]): string;
}

// TODO: Remove once https://github.com/gjsify/ts-for-gir/pull/142 makes it into @girs/gjs
interface ImportMeta {
/** GNOME Shell/GJS add the imported URL here */
readonly url: string;
Expand Down

0 comments on commit 64ecdeb

Please sign in to comment.