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

variable script type #742

Open
grabthar opened this issue Sep 6, 2022 · 1 comment
Open

variable script type #742

grabthar opened this issue Sep 6, 2022 · 1 comment

Comments

@grabthar
Copy link

grabthar commented Sep 6, 2022

Issue:

Wrong type for the variable "script".
Exemple intellisense won't show some props script.context
It is set to it's parent type CoreObject instead of Script

Fix:

--- @type Script
script = nil

Here:

--- @type CoreObject

Test performed:

In core you can type:
print(script.type, script:IsA("CoreObject"))
then it return:

Script true

@StanzillaManticore
Copy link
Contributor

Hey there, thanks for the report! This needs to be fixed in https://github.com/kerwanp/core-types-generator

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