how to define boolean in typescript react code example Example: how to declare a boolean in typescript let isDone: boolean = false;