Run ❯
Get your
own Node
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
// Mapped modifiers example interface Todo { title: string; description: string; completed: boolean; } type OptionalTodo = { [K in keyof Todo]?: Todo[K]; }; const t1: OptionalTodo = { title: "Learn TS" }; console.log(t1.title); console.log(String(t1.description)); console.log(String(t1.completed));
Learn TS undefined undefined