From 2bb6c97355f2e6cfb918796fada5e4bc27574be7 Mon Sep 17 00:00:00 2001 From: Zachary Snow Date: Tue, 24 Jan 2023 15:52:01 +0100 Subject: [PATCH] Fix typo im "Enums considered harmful" --- src/blog/2023/enums-considered-harmful.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blog/2023/enums-considered-harmful.md b/src/blog/2023/enums-considered-harmful.md index 0950452c..a6723e94 100644 --- a/src/blog/2023/enums-considered-harmful.md +++ b/src/blog/2023/enums-considered-harmful.md @@ -78,7 +78,7 @@ export type MyFlags = Flags; const foo: MyFlags = MyFlags.Two; // This also works. -const bar: MyFlags = MyFlags.One | MyFlags .Two; +const bar: MyFlags = MyFlags.One | MyFlags.Two; // Unfortunately this also works though. const baz: MyFlags = 4;