Library updates

This commit is contained in:
Infinite
2020-01-22 20:52:04 +01:00
parent 111d5dd7c5
commit dcfd445040
32 changed files with 6902 additions and 4455 deletions

View File

@@ -42,7 +42,7 @@ const fileNameFromPath = (path: string) => {
return path.replace(/^.*[\\/]/, "");
};
const getAge = (dateString?: string, fromDateString?: string) => {
const getAge = (dateString?: string|null, fromDateString?: string) => {
if (!dateString) return 0;
const birthdate = new Date(dateString);