Skip to content
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

Typo in main example??? #37

Open
steve981cr opened this issue Apr 27, 2023 · 4 comments
Open

Typo in main example??? #37

steve981cr opened this issue Apr 27, 2023 · 4 comments

Comments

@steve981cr
Copy link

The Readme includes a JavaScript example line:

let electronApp: ElectronApplication

I've never seen that kind of syntax for a variable declaration and when I use it my linter shows an error so I'm assuming that's a typo.

@jjeff
Copy link
Contributor

jjeff commented Apr 27, 2023

It's Typescript. I'm defining the variable scope and type.

@steve981cr
Copy link
Author

Oh, got it. Thanks.

@jjeff
Copy link
Contributor

jjeff commented Apr 27, 2023

Yeah. That's in the Javascript section of the docs. I'll fix it.

Thanks for the note!

@jjeff
Copy link
Contributor

jjeff commented Apr 27, 2023

In the meantime, just change to:

let electronApp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants