-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Read this blog for naming conventions
https://github.com/ahsiba/task_given/blob/71b521f798d8c0ab166584ebb18cd31dfbb61393/versions.ts#L1
Use proper interface like,
interface IVersion {
id: string;
name: string;
releaseDate: Date;
bugId: string[];
features: string[];
authors: string[];
type: ERELEASE_TYPE;
}
https://github.com/ahsiba/task_given/blob/71b521f798d8c0ab166584ebb18cd31dfbb61393/versions.ts#L46
write a single function instead of writing three different filters(code reusability). Do the same for all
https://github.com/ahsiba/task_given/blob/71b521f798d8c0ab166584ebb18cd31dfbb61393/versions.ts#L62
Do proper indentation, also this problem can be done in different way instead of pushing count in array and iterating the same again
Metadata
Metadata
Assignees
Labels
No labels