You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,4 @@ Starter files and support materials for the Pluralsight course: "Angular with Ty
4
4
NOTE:
5
5
- In the productResourceMock.ts file, on some systems the id variable is typed as "any" and the code works "as is".
6
6
- In other cases, the implicit typing marks the id variable as a string. When this happens, the compiler generates an error on the comparison saying the operator "==" cannot be applied to types "number" and "string". The solution is to use the "+" unary operator to convert the array element to an integer:
0 commit comments