feat: add TSDoc definition to some models
This commit is contained in:

committed by
kolaente

parent
658ca4c955
commit
16d8c2224b
@ -1,4 +1,7 @@
|
||||
export const parseDateOrNull = date => {
|
||||
/**
|
||||
* Make date objects from timestamps
|
||||
*/
|
||||
export function parseDateOrNull(date) {
|
||||
if (date instanceof Date) {
|
||||
return date
|
||||
}
|
||||
|
Reference in New Issue
Block a user