mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 04:50:36 +00:00
Add Moonwave comments for DateTime properties. (#248)
This commit is contained in:
parent
0f4cac29aa
commit
0d2f5539b6
1 changed files with 11 additions and 2 deletions
|
@ -87,10 +87,19 @@ export type DateTimeValueArguments = DateTimeValues & OptionalMillisecond
|
|||
]=]
|
||||
export type DateTimeValueReturns = DateTimeValues & Millisecond
|
||||
|
||||
--[=[
|
||||
@prop unixTimestamp number
|
||||
@within DateTime
|
||||
Number of seconds passed since the UNIX epoch.
|
||||
]=]
|
||||
|
||||
--[=[
|
||||
@prop unixTimestampMillis number
|
||||
@within DateTime
|
||||
Number of milliseconds passed since the UNIX epoch.
|
||||
]=]
|
||||
local DateTime = {
|
||||
--- Number of seconds passed since the UNIX epoch.
|
||||
unixTimestamp = (nil :: any) :: number,
|
||||
--- Number of milliseconds passed since the UNIX epoch.
|
||||
unixTimestampMillis = (nil :: any) :: number,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue