From f53f4bcbe73a98ffbd24e252831a94056803e635 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Mon, 15 Sep 2025 18:37:31 -0400 Subject: [PATCH] fix(ci): correct typing --- lua/cp/cache.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/cp/cache.lua b/lua/cp/cache.lua index ebf506f..f1f2f8f 100644 --- a/lua/cp/cache.lua +++ b/lua/cp/cache.lua @@ -146,7 +146,7 @@ end ---@param platform string ---@param contest_id string ---@param problem_id? string ----@return TestCase[]? +---@return CachedTestCase[]? function M.get_test_cases(platform, contest_id, problem_id) vim.validate({ platform = { platform, "string" }, @@ -164,7 +164,7 @@ end ---@param platform string ---@param contest_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) vim.validate({ platform = { platform, "string" },