archive/unitypackage: type annotations
This commit is contained in:
1 parent
5096eb4898
commit
524179ec67
6 files changed
+4070
-1081
No files matched your search
@@ -57,7 +57,7 @@ for _, c in Fx.cases do
|
||||
e = x
|
||||
end
|
||||
end
|
||||
local pv = e and e.preview and e.preview()
|
||||
local pv: any = e and (e :: any).preview and (e :: any).preview()
|
||||
t:check(pv and buffer.readstring(pv, 8, 7) == "preview", c.name .. ": preview.png")
|
||||
-- round trip through our writer
|
||||
local out, werr = UnityPackage.encode(a)
|
||||
|
||||
Reference in new issue
Block a user