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

Array object not "recognized" in scripts #217

Open
zeropaper opened this issue Oct 20, 2021 · 0 comments
Open

Array object not "recognized" in scripts #217

zeropaper opened this issue Oct 20, 2021 · 0 comments

Comments

@zeropaper
Copy link
Owner

zeropaper commented Oct 20, 2021

The editor underlines Array as an error when

Steps to reproduce:

  1. Create a demo project
  2. Add a piece of code similar to the following one in a layer or worker script
    Array.isArray(...)

Expected behavior:

  • The code executes
  • There's no error underline in editor

Observed behavior:

  • The code execute
  • There's an error underline with the following hover hint: Cannot find name 'Array'.ts(2304)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant