Skip to content

Commit

Permalink
FIx SoundService.GetListener() types
Browse files Browse the repository at this point in the history
  • Loading branch information
osyrisrblx committed Sep 22, 2023
1 parent bd59e0b commit a768f91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/customDefinitions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -826,11 +826,12 @@ interface SocialService extends Instance {
interface SoundService extends Instance {
GetListener(
this: SoundService,
):
): LuaTuple<
| [Enum.ListenerType.Camera, undefined]
| [Enum.ListenerType.CFrame, CFrame]
| [Enum.ListenerType.ObjectCFrame, BasePart]
| [Enum.ListenerType.ObjectPosition, BasePart];
| [Enum.ListenerType.ObjectPosition, BasePart]
>;
SetListener(this: SoundService, listenerType: CastsToEnum<Enum.ListenerType.Camera>): void;
SetListener(this: SoundService, listenerType: CastsToEnum<Enum.ListenerType.CFrame>, cframe: CFrame): void;
SetListener(
Expand Down

0 comments on commit a768f91

Please sign in to comment.