We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff4f4d8 commit 3acfd00Copy full SHA for 3acfd00
src/ArqBackupPlan.ts
@@ -35,7 +35,10 @@ export interface FinishedBackupActivityJSON
35
}
36
37
// Note: this should be `|` rather than `&`, but this is `&` due to TypeScript
38
-// limitations.
+// limitations. See:
39
+//
40
+// - https://github.com/microsoft/TypeScript/issues/55239#issuecomment-1662572540
41
+// - https://github.com/microsoft/TypeScript/issues/4196
42
//
43
// This means that `if (backupActivityJSON.message === "Idle")` unfortunately
44
// cannot type narrow the type of backupActivityJSON from `BackupActivityJSON`
0 commit comments