Skip to content
Open
Show file tree
Hide file tree
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/animationprovider/src/Shared/AnimationProvider.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
Provides animations for anything tagged with "AnimationContainer" and from a folder named "Animations"
in ReplicatedStorage. See [TemplateProvider].
Expand Down
2 changes: 1 addition & 1 deletion src/bodycolorsutils/src/Shared/BodyColorsDataConstants.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class BodyColorsDataConstants
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[[
@class ChatProviderTranslator
]]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class ClipCharacterConstants
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
Generic command definition template
@class CmdrCommandDefinitionTemplate
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
Retrieves CmdrTemplateProviderServer
@class CmdrTemplateProviderServer
Expand Down
2 changes: 1 addition & 1 deletion src/deathreport/src/Client/DeathReportBindersClient.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class DeathReportBindersClient
]=]
Expand Down
2 changes: 1 addition & 1 deletion src/deathreport/src/Server/DeathReportBindersServer.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class DeathReportBindersServer
]=]
Expand Down
2 changes: 1 addition & 1 deletion src/deathreport/src/Shared/DeathReportServiceConstants.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class DeathReportServiceConstants
]=]
Expand Down
8 changes: 4 additions & 4 deletions src/deathreport/src/Shared/Stats/PlayerKillTrackerUtils.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class PlayerKillTrackerUtils
]=]
Expand All @@ -10,7 +10,7 @@ local RxBinderUtils = require("RxBinderUtils")

local PlayerKillTrackerUtils = {}

function PlayerKillTrackerUtils.create(binder, player)
function PlayerKillTrackerUtils.create(binder: any, player: Player): IntValue
assert(typeof(player) == "Instance", "Bad player")

local score = Instance.new("IntValue")
Expand All @@ -24,14 +24,14 @@ function PlayerKillTrackerUtils.create(binder, player)
return score
end

function PlayerKillTrackerUtils.observeBrio(binder, player)
function PlayerKillTrackerUtils.observeBrio(binder: any, player: Player): any
assert(typeof(player) == "Instance" and player:IsA("Player"), "Bad player")

-- This ain't performant, but it's ok
return RxBinderUtils.observeBoundChildClassBrio(binder, player)
end

function PlayerKillTrackerUtils.getPlayerKillTracker(binder, team)
function PlayerKillTrackerUtils.getPlayerKillTracker(binder: any, team: Instance): any
return BinderUtils.findFirstChild(binder, team)
end

Expand Down
8 changes: 4 additions & 4 deletions src/deathreport/src/Shared/Stats/TeamKillTrackerUtils.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class TeamKillTrackerUtils
]=]
Expand All @@ -10,7 +10,7 @@ local RxBinderUtils = require("RxBinderUtils")

local TeamKillTrackerUtils = {}

function TeamKillTrackerUtils.create(binder)
function TeamKillTrackerUtils.create(binder: any): IntValue
local score = Instance.new("IntValue")
score.Name = "TeamKillTracker"
score.Value = 0
Expand All @@ -20,14 +20,14 @@ function TeamKillTrackerUtils.create(binder)
return score
end

function TeamKillTrackerUtils.observeBrio(binder, player)
function TeamKillTrackerUtils.observeBrio(binder: any, player: Instance): any
assert(typeof(player) == "Instance", "Bad player")

-- This ain't performant, but it's ok
return RxBinderUtils.observeBoundChildClassBrio(binder, player)
end

function TeamKillTrackerUtils.getTeamKillTracker(binder, team)
function TeamKillTrackerUtils.getTeamKillTracker(binder: any, team: Instance): any
return BinderUtils.findFirstChild(binder, team)
end

Expand Down
2 changes: 1 addition & 1 deletion src/gameconfig/src/Client/GameConfigBindersClient.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class GameConfigBindersClient
]=]
Expand Down
2 changes: 1 addition & 1 deletion src/gameconfig/src/Server/GameConfigBindersServer.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class GameConfigBindersServer
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class PlayerAssetMarketTrackerInterface
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class PlayerProductManagerInterface
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
Holds binders
@class HumanoidSpeedBindersClient
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
Holds binders
@class HumanoidSpeedBindersServer
Expand Down
2 changes: 1 addition & 1 deletion src/ik/src/Shared/Interfaces/IKRigInterface.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class IKRigInterface
]=]
Expand Down
4 changes: 2 additions & 2 deletions src/ik/src/Shared/Rig/IKRigUtils.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class IKRigUtils
]=]
Expand All @@ -22,7 +22,7 @@ function IKRigUtils.getTimeBeforeNextUpdate(distance: number): number
return updateRate
end

function IKRigUtils.getPlayerIKRig(binder, player: Player)
function IKRigUtils.getPlayerIKRig(binder: any, player: Player): any
assert(binder, "Bad binder")

local humanoid = CharacterUtils.getPlayerHumanoid(player)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--!nonstrict
--!strict
--[=[
Test input key map provider
@class TestInputKeyMap
]=]
local require = require(script.Parent.loader).load(script)

Check failure on line 6 in src/inputkeymaputils/test/modules/Shared/TestInputKeyMap.lua

View workflow job for this annotation

GitHub Actions / luau-lsp

luau-lsp(TypeError)

Unknown require: unsupported path

local InputKeyMap = require("InputKeyMap")
local InputKeyMapList = require("InputKeyMapList")
Expand Down
4 changes: 2 additions & 2 deletions src/kinematics/src/Shared/KinematicUtils.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--!nonstrict
--!strict
--[=[
@class KinematicUtils
]=]

local KinematicUtils = {}

function KinematicUtils.positionVelocity(now, t0, p0, v0, a0)
function KinematicUtils.positionVelocity(now: number, t0: number, p0: number, v0: number, a0: number): (number, number)
local dt = now - t0

-- stylua: ignore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class RacketingRopeConstraintInterface
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class UnragdollAutomaticallyConstants
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
Constants for [RagdollHumanoidOnFall].
@class RagdollHumanoidOnFallConstants
Expand Down
2 changes: 1 addition & 1 deletion src/ragdoll/src/Shared/Interfaces/RagdollableInterface.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class RagdollableInterface
]=]
Expand Down
2 changes: 1 addition & 1 deletion src/ragdoll/src/Shared/Rigging/RagdollMotorData.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class RagdollMotorData
]=]
Expand Down
2 changes: 1 addition & 1 deletion src/rogue-humanoid/src/Shared/RogueHumanoidProperties.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class RogueHumanoidProperties
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class RoguePropertyArrayConstants
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class RogueModifierInterface
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class RoguePropertyBaseValueTypeUtils
]=]
Expand All @@ -9,7 +9,7 @@ local RoguePropertyBaseValueTypes = require("RoguePropertyBaseValueTypes")

local RoguePropertyBaseValueTypeUtils = {}

function RoguePropertyBaseValueTypeUtils.isRoguePropertyBaseValueType(value)
function RoguePropertyBaseValueTypeUtils.isRoguePropertyBaseValueType(value: any): boolean
return value == RoguePropertyBaseValueTypes.INSTANCE or value == RoguePropertyBaseValueTypes.ANY
end

Expand Down
2 changes: 1 addition & 1 deletion src/rogue-properties/src/Shared/RoguePropertyConstants.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class RoguePropertyConstants
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class InputKeyMapSettingConstants
]=]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class PlayerSettingsInterface
]=]
Expand Down
2 changes: 1 addition & 1 deletion src/snackbar/src/Client/SnackbarScreenGuiProvider.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
@class SnackbarScreenGuiProvider
]=]
Expand Down
2 changes: 1 addition & 1 deletion src/softshutdown/src/Shared/SoftShutdownTranslator.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[[
@class SoftShutdownTranslator
]]
Expand Down
2 changes: 1 addition & 1 deletion src/templateprovider/src/Shared/TaggedTemplateProvider.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[=[
Like a template provider, but it also reparents and retrieves tagged objects

Expand Down
2 changes: 1 addition & 1 deletion src/tie/test/modules/Server/Action/ActionInterface.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[[
@class ActionInterface
]]
Expand Down
2 changes: 1 addition & 1 deletion src/tie/test/modules/Server/OpenableInterface.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--!nonstrict
--!strict
--[[
@class OpenableInterface
]]
Expand Down
Loading