Skip to content

Commit 77c0d8a

Browse files
committed
fix: use the right type for list_kernels
1 parent aacdef2 commit 77c0d8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/jupyter-api/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ M.connect = function(connection_info, callback)
2929
end
3030

3131
---List the jupyter kernels
32-
---@type fun(callback: fun(kernels: JupyterKernel[]))
32+
---@type fun(callback: fun(kernels: JupyterKernelspecDir[]))
3333
M.list_kernels = jupyter_api_nvim.list_kernels
3434

3535
return M

0 commit comments

Comments
 (0)