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

Undefined type unknown #232

Open
devSparkle opened this issue Jul 22, 2023 · 0 comments · May be fixed by #233
Open

Undefined type unknown #232

devSparkle opened this issue Jul 22, 2023 · 0 comments · May be fixed by #233

Comments

@devSparkle
Copy link

The unknown type is a Luau builtin type; however, it is not recognised by Roblox LSP. Using this type in any script yields the following warning:

Undefined type `unknown`. Roblox LSP Diagnostics.(undefined-type)

While ideally there should be support for the behaviour that unknown aims to implement (it cannot be used as another type, forcing type refinement), the important change is to first disable this erroneous warning.

@devSparkle devSparkle linked a pull request Jul 22, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant