JavaScript: external interfaces vs. objects for options

I’m using the Quill editor. It seems like it is doing something funky with the options-object.

I’m getting

Uncaught TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)

The code where the error occurs:

    var _this = _possibleConstructorReturn(this, 
        (Keyboard.__proto__ || Object.getPrototypeOf(Keyboard))
            .call(this, quill, options)
    );

    _this.bindings = {};

    /* CRASHES */
    Object.keys(_this.options.bindings).forEach(function (name) {
       ...
    });

. I don’t want to waste to much time on this though, I will just use interfaces…