write stubs
This commit is contained in:
31
lsp/fes.lua
Normal file
31
lsp/fes.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
---@meta
|
||||
|
||||
---@class Fes
|
||||
---@field version string|nil
|
||||
---@field title string|nil
|
||||
---@field copyright string|nil
|
||||
---@field favicon string|nil
|
||||
---@field header string
|
||||
---@field footer string
|
||||
---@field parts string[]
|
||||
---@field [string] fun(self: Fes, ...: any): Fes
|
||||
|
||||
local Fes = {}
|
||||
Fes.__index = Fes
|
||||
|
||||
---@param header? string
|
||||
---@param footer? string
|
||||
---@return Fes
|
||||
function Fes.fes(header, footer) end
|
||||
|
||||
---@param html string
|
||||
---@return Fes
|
||||
function Fes:custom(html) end
|
||||
|
||||
---@return string
|
||||
function Fes:build() end
|
||||
|
||||
---@return string
|
||||
function Fes:__tostring() end
|
||||
|
||||
return Fes
|
||||
Reference in New Issue
Block a user