gjsify/ts-for-gir

`Gobject.Object` doesn't take in constructor props.

Opened this issue · 0 comments

When using ts-for-gir, the following errors out:

new GObject.Object({});

// Expected 0 arguments, but got 1.

But GObject.Object does in fact take in a dictionary of objects. This annoying error causes this to fail:

  class Book extends GObject.Object {
    constructor(props?: Partial<BookConstructorProps>) {
      super(props);
      // Expected 0 arguments, but got 1.
    }
  },