mawie81 / electron-window-state

A library to store and restore window sizes and positions for your Electron app
MIT License
659 stars 67 forks source link

Type definition export is incorrect #41

Closed mattyork closed 6 years ago

mattyork commented 6 years ago

In types.d.ts the export is declared like this:

export default windowStateKeeper;

However, in the source a default export is not used:

module.exports = function (options) {

The type def should change to be

export = windowStateKeeper