@rbxts/covenant 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/covenant.luau +1 -1
- package/src/index.d.ts +1 -0
- package/src/init.luau +7 -0
package/package.json
CHANGED
package/src/covenant.luau
CHANGED
|
@@ -442,7 +442,7 @@ do
|
|
|
442
442
|
function Covenant:checkComponentDefined(component)
|
|
443
443
|
local _undefinedStringifiedComponents = self.undefinedStringifiedComponents
|
|
444
444
|
local _arg0 = tostring(component)
|
|
445
|
-
local _arg0_1 = _undefinedStringifiedComponents[_arg0] ~= nil
|
|
445
|
+
local _arg0_1 = not (_undefinedStringifiedComponents[_arg0] ~= nil)
|
|
446
446
|
local _arg1 = `Component {component} is already defined`
|
|
447
447
|
assert(_arg0_1, _arg1)
|
|
448
448
|
local _undefinedStringifiedComponents_1 = self.undefinedStringifiedComponents
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./covenant";
|