ws-cleanup: merge ws/cleanup-types (type annotations)

This commit is contained in:
4DBug committed 2026-10-31 11:27:42 -05:00
commit 5d7c223ab8
115 files changed
+583 -515

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ do
local ga = Ops.convert(rgba, "gray8") :: any
t:check(buffer.tostring(ga.pixels) == Fx.graya, "rgba8 -> gray8 matches Pillow (alpha ignored)")
local gray = Ops.convert(rgb, "gray8") :: any
local worst = { nearest = 0, bilinear = 0, lanczos = 0 }
local worst: { [string]: number } = { nearest = 0, bilinear = 0, lanczos = 0 }
for _, c in Fx.resize do
local src = if c.mode == "RGB" then rgb else gray
local r = Ops.resize(src, c.w, c.h, c.filter) :: any