Skip to content

gi:Gtk type exporting #493

Description

@aurium

Hello, this is my first try with node-gtk.

I was in trouble not getting the Gtk types namespace. So I made this change on node_modules/.node-gtk-types/node-gtk.d.ts:

  • from: declare module 'gi:Gtk' { const ns: typeof import('./Gtk-4.0.js'); export default ns }
  • to: declare module 'gi:Gtk' { import * as ns from './Gtk-4.0.js'; export = ns }

I don't know if this is a good change for the project, so I wait for your feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions