-- Compiled with roblox-ts v3.0.0 local TS = _G[script] local getParentConstructor = TS.import(script, TS.getModule(script, "@flamework", "components").out.utility).getParentConstructor local CreateTycoonData = function() return { Items = {}, } end local function IsExtended(ctor, extended) if ctor == extended then return true end local nextParent = ctor while true do nextParent = getParentConstructor(nextParent) if not (nextParent ~= nil) then break end if nextParent == extended then return true end end return false end local ModifyConstructorMethod = function(_constructor, methodName, visitor) local modifiedMethod = visitor(_constructor[methodName]) _constructor[methodName] = modifiedMethod return _constructor end local function ReconcileTable(originalObject, template) local newData = {} for key, value in pairs(template) do if originalObject[key] == nil then newData[key] = value continue end newData[key] = originalObject[key] end return newData end return { IsExtended = IsExtended, ReconcileTable = ReconcileTable, CreateTycoonData = CreateTycoonData, ModifyConstructorMethod = ModifyConstructorMethod, }