Skip to content

[love-api] many callback functions are missing #1779

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

Open
lua-rocks opened this issue Dec 23, 2022 · 2 comments
Open

[love-api] many callback functions are missing #1779

lua-rocks opened this issue Dec 23, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@lua-rocks
Copy link

lua-rocks commented Dec 23, 2022

These functions are undefined:

I really don't understand why the api has all these aliases, but in vscode these functions appear as undefined 🤷.

Maybe @alias is a wrong way to define class fields or is the total number of possible class fields limited?

For some reason, some of them show up, but most do not!

@sumneko sumneko added the bug Something isn't working label Jan 3, 2023
@sumneko sumneko added enhancement New feature or request and removed bug Something isn't working labels Jan 16, 2023
@sumneko
Copy link
Collaborator

sumneko commented Jan 16, 2023

These functions should be implemented by user.
However this server dose not support ---@override for now, so you can only use ---@type to get infers

image

@musjj
Copy link

musjj commented Mar 26, 2025

Now that #2158 is merged, what's the better way to express these types?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants