Export EndSessionDialog
Before porting to ESM, the modifier of EndSessionDialog
is var
and EndSessionDialog
can be imported in a gnome shell extension. But After porting to ESM, the var
simply becomes const
, the same extension can no longer access EndSessionDialog
.
This commit adds a keyword export
to class EndSessionDialog
to allow extensions be able to access EndSessionDialog
again.