镜像自地址
https://github.com/Hilbis/Hilbish
已同步 2025-07-14 14:52:02 +00:00
docs: fix return type for hilbish.aliases.list
这个提交包含在:
父节点
887260cd8a
当前提交
07a7a75b46
@ -92,9 +92,9 @@ func (a *aliasModule) Loader(rtm *rt.Runtime) *rt.Table {
|
|||||||
func _hlalias() {}
|
func _hlalias() {}
|
||||||
|
|
||||||
// #interface aliases
|
// #interface aliases
|
||||||
// list() -> aliases (table)
|
// list() -> table<string, string>
|
||||||
// Get a table of all aliases, with string keys as the alias and the value as the command.
|
// Get a table of all aliases, with string keys as the alias and the value as the command.
|
||||||
// @returns table<string, string>
|
// --- @returns table<string, string>
|
||||||
func (a *aliasModule) luaList(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
|
func (a *aliasModule) luaList(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
|
||||||
aliasesList := rt.NewTable()
|
aliasesList := rt.NewTable()
|
||||||
for k, v := range a.All() {
|
for k, v := range a.All() {
|
||||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户