Skip to content

Commit 7fdd3ef

Browse files
authored
fix: correct readme image (#25)
1 parent 64b2a99 commit 7fdd3ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://codely.com">
3-
<img src="https://user-images.githubusercontent.com/10558907/170513882-a09eee57-7765-4ca4-b2dd-3c2e061fdad0.png" width="300px" height="92px"/>
3+
<img alt="Codely logo" src="https://codely.com/logo/codely_logo.svg">
44
</a>
55
</p>
66

@@ -14,7 +14,7 @@
1414
</p>
1515

1616
<p align="center">
17-
TypeScript utility type in order to ensure to return only properties (not methods) containing values in primitive types such as number or boolean (not Value Objects).
17+
TypeScript utility type to ensure to return only properties (not methods) containing values in primitive types such as number or boolean (not Value Objects).
1818
<br />
1919
<br />
2020
Take a look, play and have fun with this.
@@ -54,7 +54,7 @@ When we want to have a `toPrimitives` method in order to pass an instance of the
5454
That is:
5555

5656
- We want to **avoid including methods** such as the `thisFunctionShouldNotBeIncludedInTheToPrimitives` one, so the transformation should only include properties.
57-
- We want to **flatten or unwrap encapsulated properties** such as the `courseId` and `courseTitle` ones. They are modelled as Value Objects (`CourseId` and `CourseTitle` classes), so the transformation or flatten should only include properties in a recursive manner.
57+
- We want to **flatten or unwrap encapsulated properties** such as the `courseId` and `courseTitle` ones. They are modeled as Value Objects (`CourseId` and `CourseTitle` classes), so the transformation or flatten should only include properties in a recursive manner.
5858

5959
That is exactly what our `Primitives<T>` utility type guarantees. Let's add it! 💪
6060

0 commit comments

Comments
 (0)