The result of JSON.parse is annotated as a Product, and the code type-checks under --strict. What does it log?
interface Product {
title: string;
price: number;
}
const body = '{"title":"Kettle","price":"25"}';
const product: Product = JSON.parse(body);
console.log(typeof product.price);
console.log(product.price + 5);
console.log(product.price * 2);