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

Unable to get started #9

Open
Joshua-Madrid opened this issue Nov 29, 2020 · 1 comment
Open

Unable to get started #9

Joshua-Madrid opened this issue Nov 29, 2020 · 1 comment

Comments

@Joshua-Madrid
Copy link

HI, I am very excited to start using this but I am struggling to get this working at all.

i keep getting messages saying
const sleep = (duration: number) => new Promise(resolve => { setTimeout(resolve, duration) });
^
SyntaxError: Unexpected token ':'

and so on when simply running your example script with the latest versions

@namannarula
Copy link

Are you using TypeScript?

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