Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/animations/src/Shared/AnimationSlotPlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@
end)

topMaid:GiveTask(self._animationTarget
:ObserveBrio(function(target)

Check failure on line 299 in src/animations/src/Shared/AnimationSlotPlayer.lua

View workflow job for this annotation

GitHub Actions / luau-lsp

luau-lsp(TypeError)

Expected this to be '((Instance?) -> boolean)?' but got '({- Parent: 'a -}) -> boolean' caused by: None of the union options are compatible. For example: Expected this to be '(Instance?) -> boolean' but got '({- Parent: 'a -}) -> boolean' caused by: Argument #1 type is not compatible. Expected this to be '{- Parent: 'a -}', but got 'Instance?'
return target ~= nil
return target ~= nil and target.Parent ~= nil
end)
:Subscribe(function(brio)
if brio:IsDead() then
Expand Down
Loading