promise-async/typings
2024-02-27 08:18:44 +08:00
..
async.lua chore: improve annotation and diagnostic 2023-11-28 17:53:33 +08:00
loop.lua chore: update annotation 2022-12-23 21:38:46 +08:00
promise.lua fix(typings): onRejected in catch return a val or promise 2024-02-27 08:18:44 +08:00
promiselike.lua chore: improve annotation and diagnostic 2023-11-28 17:53:33 +08:00
README.md Initial commit 2022-05-18 22:50:07 +08:00

Typings of promise-async only

Development library for the completion and documentation of promise-async.

Installation

lua-language-server

Append this directory path to Lua.workspace.library field in configuration file.

Use .luarc.json as an example:

{
    "$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
    "workspace.library": ["your_path/typings"]
}

Credits

lua-language-server/wiki/Setting