|
|
@ -37,6 +37,7 @@ end |
|
|
|
---@param name string |
|
|
|
---@param name string |
|
|
|
---@param defaults? D |
|
|
|
---@param defaults? D |
|
|
|
function Config:New(name, defaults) |
|
|
|
function Config:New(name, defaults) |
|
|
|
|
|
|
|
---@type Bastion.Config |
|
|
|
local self = setmetatable({}, Config) |
|
|
|
local self = setmetatable({}, Config) |
|
|
|
self.config = Tinkr.Util.Config:New(name) |
|
|
|
self.config = Tinkr.Util.Config:New(name) |
|
|
|
self.defaults = type(defaults) == "table" and defaults or {} |
|
|
|
self.defaults = type(defaults) == "table" and defaults or {} |
|
|
|