Skip to content

Commit d38c395

Browse files
committed
feat(api): update copilot_status_notification_data type
1 parent a54e7b1 commit d38c395

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/copilot/api.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,11 @@ function mod.unregister_panel_handlers(panelId)
179179
panel.callback.PanelSolutionsDone[panelId] = nil
180180
end
181181

182-
---@alias copilot_status_notification_data { status: string, message: string }
182+
---@alias copilot_status_notification_data { status: ''|'Normal'|'InProgress'|'Warning', message: string }
183183

184184
local status = {
185185
client_id = nil,
186+
---@type copilot_status_notification_data
186187
data = {
187188
status = "",
188189
message = "",

0 commit comments

Comments
 (0)