Skip to content

Commit

Permalink
Removed readonly from ImportMeta.url
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpLink committed Nov 10, 2024
1 parent 277a9a1 commit f1588a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generator-typescript/templates/gjs/dom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ declare global {
*
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/ESModules.md#importmetaurl
*/
readonly url: string;
url: string; // with readonly this type is incompatible with e.g. https://github.com/vitejs/vite/blob/main/packages/vite/types/importMeta.d.ts
}

// Timers
Expand Down

0 comments on commit f1588a3

Please sign in to comment.