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
// Recursive Conditional Types demo (runtime-friendly) // Type-level idea: // type UnwrapPromise
= T extends Promise
? UnwrapPromise
: T; // Minimal runtime log to reflect the type results from the page examples console.log("A is string"); console.log("B is number"); console.log("C is boolean");
A is string B is number C is boolean