-
Notifications
You must be signed in to change notification settings - Fork 341
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
Allow specifying type definition files from .luaurc #418
Comments
This could be done with a global types file path. The file is a lua file with export type statements. |
+1 I'm using |
This would also enable doing more of the sort of thing https://github.com/lenscas/tealr is doing. |
+1 on this issue, would perhaps re-using teal project's |
I believe the author of mlua is already looking into supporting luau. So, all that is needed on your end is a mlua version with that enabled, a luau version that supports something like So.. as someone who only has control of 1 of the 3 things for that, I also do a +1 on this issue :) |
I'll try doing a pull request tomorrow. |
Well, a week went by and I didn't have time... I promise ill do it. |
@HawDevelopment haha no worries, no pressure! |
It's currently hard to use Luau analysis with custom libraries or environments.
I propose that the
.luaurc
file have a field that links to a file with custom type definitions.These types would of course still use the old format.
The text was updated successfully, but these errors were encountered: