-
Notifications
You must be signed in to change notification settings - Fork 19
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
Provide system
and gettext
as ESM
#114
Comments
I agree, we should support the following as ambient modules: import gettext from 'gettext';
import system from 'system'; This should also work: import { exit } from 'system';
import { ngettext as _ } from 'gettext'; Support for ambient modules will come with #106, but |
30 tasks
Cairo is another one like this, it doesn't use the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Both
system
andgettext
are currently available to be imported as ECMAScript Modules, I think since GJS supports ESM. It would be nice to be able to import them in such a way using ts-for-gir, since the default GNOME Builder template importssystem
that way :)The text was updated successfully, but these errors were encountered: