split lua stubs into one set for ldoc, and one set for lua-ls

This commit is contained in:
jacqueline
2024-01-05 17:15:47 +11:00
parent aa1dd3d522
commit e12a68a74d
24 changed files with 206 additions and 79 deletions
+10
View File
@@ -0,0 +1,10 @@
--- @meta
--- Properties for interacting with the audio playback system
--- @class playback
--- @field playing Property Whether or not audio is allowed to be played. if there is a current track, then this indicated whether playback is paused or unpaused. If there is no current track, this determines what will happen when the first track is added to the queue.
--- @field track Property The currently playing track.
--- @field position Property The current playback position within the current track, in seconds.
local playback = {}
return playback