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;