How do I fix this disgusting error? (Type '*error-type*' could not be converted into table)

Sorry I’m a bit pissed but I don’t know what has Roblox changed, this didn’t show up before.


image

(It’s a table)

print(typeof(self))

image
No errors at runtime obviously


Is this really the only way to get rid of that error?

image

1 Like
function SE.End(self: {})
  
end

I find it nauseous that I have to do it like this, but it works. Thanks.

everyone does this when they want to typecheck self

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.