LuaCATS / lpeg

Definitions for the LPeg library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lpeg.Cmt(): Type definition of return value is wrong

AndreasMatthias opened this issue · comments

---@param fn fun(s: string, i: integer, ...: any): (position?: boolean|number, ...: any)

I believe the question mark in position? is wrong and should be deleted.

Thank you for reporting this issue.