From 36a19182bec171d6376e51f5689aaf70b9d6fbad Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 7 Mar 2024 17:22:06 +1100 Subject: Use luals-stubs as the source of truth for docs, instead of maintaining separate docs stubs Includes introducing a cool new script to turn lua-language-server's json output into markdown documentation. --- luals-stubs/time.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 luals-stubs/time.lua (limited to 'luals-stubs/time.lua') diff --git a/luals-stubs/time.lua b/luals-stubs/time.lua new file mode 100644 index 00000000..95bbabdb --- /dev/null +++ b/luals-stubs/time.lua @@ -0,0 +1,12 @@ +--- @meta + +--- The `time` module contains functions for dealing with the current time +--- since boot. +--- @class time +local time = {} + +--- Returns the time in milliseconds since the device booted. +--- @return integer +function time.ticks() end + +return time -- cgit v1.2.3