Post your project for free and start receiving proposals from freelancers within minutes after publication!
Improve the TS function.
Enter the ‘parseDates’ function.
Link to the function - https://gist.github.com/xkomiks/f5f646658c3ee7cb9c3804443d35b918
The expected result is something like that, but without an obvious typing.
type isodate = string;
Interface User {
Created by: Isodate;
The
const user: User = {
createdAt: '2022-07-10T10:47:23.000Z'
The
Interface expectedUser {
createdAt: Date;
The
const user_: expectedUser = parseDates(user);
Link to the function - https://gist.github.com/xkomiks/f5f646658c3ee7cb9c3804443d35b918
The expected result is something like that, but without an obvious typing.
type isodate = string;
Interface User {
Created by: Isodate;
The
const user: User = {
createdAt: '2022-07-10T10:47:23.000Z'
The
Interface expectedUser {
createdAt: Date;
The
const user_: expectedUser = parseDates(user);
-
726 21 0 Good morning, interested in your project, reviewed the code, in general difficulties should not arise, ready to start work