1 min read
Using Quokka in Visual Studio Code for Typescript Part 3 – Write some TypeScript code for Live feedback
Now let’s write some code for adding two numbers and see the result displayed in the editor.
let number1: number = 25;
console.log(number1);
let number2: number = 25;
console.log(number2);
let sum: number = number1 + number2;
console.log(sum)

The blue text is Quokka that calculates the values!
In the last post we’ll write a TypeScript function and then add Quokka to the file.