Added type checking

This commit is contained in:
Justin van der Leij 2018-04-07 01:42:00 +02:00
parent fda6cd7237
commit 281bb53a5b
7 changed files with 101 additions and 8 deletions

View file

@ -8,6 +8,8 @@ function Component.new(populate)
local component = setmetatable({
__populate = populate,
__inherit = inherit,
__isComponent = true,
}, Component)
component.__mt = {__index = component}