fix(ts): type annotations
This commit is contained in:
parent
35aecae7ab
commit
2b9cb77325
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ local queries = {
|
||||||
]],
|
]],
|
||||||
}
|
}
|
||||||
|
|
||||||
---@param parent_type [string]
|
---@param parent_type string[]
|
||||||
---@param node TSNode
|
---@param node TSNode
|
||||||
---@return TSNode?
|
---@return TSNode?
|
||||||
local function get_parrent_node(parent_type, node)
|
local function get_parrent_node(parent_type, node)
|
||||||
|
|
@ -61,7 +61,7 @@ end
|
||||||
---@field end_line integer
|
---@field end_line integer
|
||||||
|
|
||||||
---@param bufnr integer
|
---@param bufnr integer
|
||||||
---@param parent_type [string]
|
---@param parent_type string[]
|
||||||
---@param query string
|
---@param query string
|
||||||
---@return gopher.TsResult
|
---@return gopher.TsResult
|
||||||
local function do_stuff(bufnr, parent_type, query)
|
local function do_stuff(bufnr, parent_type, query)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue