5 lines
165 B
TypeScript
5 lines
165 B
TypeScript
|
export default class RepoBase {
|
||
|
public static convertNullableDatetimeIntToDate(dateTimeInt?:number) {
|
||
|
return dateTimeInt ? new Date(dateTimeInt) : undefined;
|
||
|
}
|
||
|
}
|