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
+33
View File
@@ -0,0 +1,33 @@
--- @meta
--- @class database
local database = {}
--- @return Index[]
function database.indexes() end
--- @class Iterator
local Iterator = {}
--- @class TrackId
local TrackId = {}
--- @class Record
local Record = {}
--- @return string
function Record:title() end
--- @return TrackId|Iterator(Record)
function Record:contents() end
--- @class Index
local Index = {}
--- @return string
function Index:name() end
--- @return Iterator(Record)
function Index:iter() end
return database