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

feat: add type annotations #565

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from
Draft

Conversation

delphinus
Copy link
Contributor

@delphinus delphinus commented Mar 23, 2024

I'm adding type annotations and some documentations for plenary. At first, I have added to plenary.path because this is the most popular module here, I think.

TODO

  • plenary
  • plenary.bit (bit already exists in LuaJIT) 
  • plenary.async
    • plenary.async.uv should be generated by scripts.
    • plenary.async.async should also be generated 🤔
  • plenary.async_lib (deprecated)
  • plenary.class
  • plenary.context_manager
  • plenary.curl
  • plenary.filetype
  • plenary.fun
  • plenary.functional
  • plenary.iterators
  • plenary.job
  • plenary.log
  • plenary.nvim_meta
  • plenary.operators
  • plenary.path
  • plenary.reload
  • plenary.scandir
  • plenary.strings
  • plenary.test_harness
  • plenary.window

@delphinus delphinus force-pushed the feat/types branch 17 times, most recently from b8789ab to c7fc90f Compare March 31, 2024 08:41
@delphinus delphinus force-pushed the feat/types branch 3 times, most recently from 832687b to c341a8a Compare April 6, 2024 07:43
@delphinus delphinus force-pushed the feat/types branch 2 times, most recently from c1ab4e0 to 95a30e2 Compare April 28, 2024 13:36
@mochaaP
Copy link

mochaaP commented Jul 17, 2024

Consider using type stubs from https://github.com/LuaCATS/busted and https://github.com/LuaCATS/luassert

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 this pull request may close these issues.

2 participants