Software /
code /
prosody
Annotate
teal-src/util/human/units.d.tl @ 12857:cc86d77481fc 0.12
mod_mam,mod_muc_mam: Minimize differences (reorder, copy some comments)
Should have no functional difference, but makes it easier keeping
mod_mam and mod_muc_mam in sync.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 21 Jan 2023 16:54:43 +0100 |
parent | 11432:113f3912c7cb |
child | 12608:946a11f794e2 |
rev | line source |
---|---|
11432
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local lib = record |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 adjust : function (number, string) : number, string |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 format : function (number, string, string) : string |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 end |
113f3912c7cb
util: Add Teal interface definition files
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 return lib |