fix(ts): type annotations

This commit is contained in:
Oleksandr Smirnov 2025-03-19 14:33:50 +02:00
parent 35aecae7ab
commit 2b9cb77325
No known key found for this signature in database

View file

@ -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)