Skip to content

Commit

Permalink
Make setup function arguments optional
Browse files Browse the repository at this point in the history
  • Loading branch information
nizamiza committed May 17, 2024
1 parent 804165b commit 8efb1f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/rpm/interface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ function M.clean()
end

---@class SetupOptions
---@field after_init fun()
---@field after_init? fun()

---@param opts SetupOptions
---@param opts? SetupOptions
---@return nil
function M.setup(opts)
local options = opts or {}
Expand Down

0 comments on commit 8efb1f7

Please sign in to comment.