New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
port app/index and it's referenced files to ts #4083
Conversation
7c5b647
to
b330660
Compare
Can't reproduce the ci error, don't have windows pc with me. @Stanzilla can you please check. |
Hrm I get these locally as well
|
Looks like babel/babel#10264 to me? |
That issue is closed but still doesn't seem to fix the babel message. Changing the code a bit to avoid it is possible though see
Are you getting it while running |
Nope, here's my full log:
|
I only just realised that I ran that on WSL and not normal Windows, tried that then and it just failed on random node-gyp stuff again, I'm not sure I want to bother with that right now ./ |
Found the culprit sindresorhus/cpy-cli#9 |
Heh, "I couldn't care less about Windows". Awesome investigation! |
b330660
to
0b3ca8b
Compare
👍 |
Added type augmentation for App and BrowserWindow types to include the fields which we are populating. There were some issues in putting this declaration in a d.ts file because of a tsc error getting triggered for electron typings, so it's in index.ts atm.
Replaced Window class with a newWindow function which returns a BrowserWindow instance, as BrowserWindow class cannot be extended ref
As ui/window had large number of lines changed(mostly indentation because of class->function) included the rename in a separate commit