Skip to content

How to annotate xpcall wrapper #1719

Closed Answered by sumneko
sarmong asked this question in Q&A
Discussion options

You must be logged in to vote

require is specially treated, you can use the following config:

"Lua.runtime.special": {
    "req": "require"
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sarmong
Comment options

Answer selected by sarmong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants