fix(ci): correct typing
This commit is contained in:
parent
e98ced5fda
commit
f53f4bcbe7
1 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ end
|
||||||
---@param platform string
|
---@param platform string
|
||||||
---@param contest_id string
|
---@param contest_id string
|
||||||
---@param problem_id? string
|
---@param problem_id? string
|
||||||
---@return TestCase[]?
|
---@return CachedTestCase[]?
|
||||||
function M.get_test_cases(platform, contest_id, problem_id)
|
function M.get_test_cases(platform, contest_id, problem_id)
|
||||||
vim.validate({
|
vim.validate({
|
||||||
platform = { platform, "string" },
|
platform = { platform, "string" },
|
||||||
|
|
@ -164,7 +164,7 @@ end
|
||||||
---@param platform string
|
---@param platform string
|
||||||
---@param contest_id string
|
---@param contest_id string
|
||||||
---@param problem_id? string
|
---@param problem_id? string
|
||||||
---@param test_cases TestCase[]
|
---@param test_cases CachedTestCase[]
|
||||||
function M.set_test_cases(platform, contest_id, problem_id, test_cases)
|
function M.set_test_cases(platform, contest_id, problem_id, test_cases)
|
||||||
vim.validate({
|
vim.validate({
|
||||||
platform = { platform, "string" },
|
platform = { platform, "string" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue