[Do not add unneeded context ] to gets an error ?
MSakamaki opened this issue · comments
M.Sakamaki commented
Do not add unneeded context
https://github.com/labs42io/clean-code-typescript#dont-add-unneeded-context
argments is not this.
, is not it a car
?
(sample gives an error)
type Car = {
make: string;
model: string;
color: string;
}
function print(car: Car): void {
console.log(`${car.make} ${car.model} (${car.color})`);
}