๐ assignment.ts
๐ assignment.js (compiled)
Write TS
โ
tsc compile
โ
JS output
โ
Run in Chrome
Concepts Covered โ Click to Jump
Primitive Types
string ยท number ยท boolean ยท null ยท undefined
Type Aliases
type ยท union ยท literal
Interfaces
interface ยท nested ยท optional ?
Arrays
T[] ยท Array<T> ยท typed elements
Objects
inline shape ยท typed properties
Functions
params ยท return ยท generics ยท void
Console Output
Click โถ Run Code to execute the compiled
JavaScript in Chrome...