Open
Description
Caused by these annotations of the wiki:
A simple fix would be to annotate the fields as optional, e.g:
---@type Entity?
Bullet.Attacker = self
Besides that I'm not sure if the way default values are annotated is prone to more issues. I mean the self
in that annotation file is not going to point to anything useful.
Related
surface.CreateFont
with theFontData
struct has the same issue- Same for trace functions like
util.TraceLine
withTrace