Skip to content

Commit

Permalink
add some typing
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Feb 22, 2025
1 parent 8252bd9 commit f4dd075
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/octo/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1319,9 +1319,11 @@ function M.save_pr(opts)
end
end

--- Change PR state to ready for review or draft
--- @param opts table
--- @class PRReadyOpts
--- @field undo boolean Whether to undo from ready to draft

--- Change PR state to ready for review or draft
--- @param opts PRReadyOpts
M.gh_pr_ready = function(opts)
local bufnr = vim.api.nvim_get_current_buf()
local buffer = octo_buffers[bufnr]
Expand Down

0 comments on commit f4dd075

Please sign in to comment.